aboutsummaryrefslogtreecommitdiffstats
path: root/config/vhosts
diff options
context:
space:
mode:
Diffstat (limited to 'config/vhosts')
-rw-r--r--config/vhosts/vhosts.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/vhosts/vhosts.inc b/config/vhosts/vhosts.inc
index 9282824f..e9a1a6ec 100644
--- a/config/vhosts/vhosts.inc
+++ b/config/vhosts/vhosts.inc
@@ -389,7 +389,7 @@ function vhosts_sync_package_php()
$tmp .= "#server.error-handler-404 = \"/error-handler.php\"\n";
$tmp .= "\n";
$tmp .= "## to help the rc.scripts\n";
- $tmp .= "server.pid-file = \"/var/run/lighty-vhosts.pid\"\n";
+ $tmp .= "server.pid-file = \"/var/run/lighty-vhosts-http.pid\"\n";
$tmp .= "\n";
$tmp .= "## virtual directory listings\n";
$tmp .= "server.dir-listing = \"disable\"\n";
@@ -429,7 +429,7 @@ function vhosts_sync_package_php()
$tmp .= "#### CGI module\n";
$tmp .= "cgi.assign = ( \".cgi\" => \"\" )\n";
- $fout = fopen("/var/etc/lighty-vhosts.conf","w");
+ $fout = fopen("/var/etc/lighty-vhosts-http.conf","w");
fwrite($fout, $tmp);
unset($tmp);
fclose($fout);
@@ -750,9 +750,9 @@ function php_install_command() {
//write_config();
write_rcfile(array(
- "file" => "vhosts.sh",
- "start" => "/usr/local/sbin/lighttpd -f /var/etc/lighty-vhosts.conf",
- "stop" => "kill `cat /var/run/lighty-vhosts.pid`"
+ "file" => "vhosts-http.sh",
+ "start" => "/usr/local/sbin/lighttpd -f /var/etc/lighty-vhosts-http.conf",
+ "stop" => "kill `cat /var/run/lighty-vhosts-http.pid`"
)
);