aboutsummaryrefslogtreecommitdiffstats
path: root/config/vhosts
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-12-21 21:19:57 -0700
committermcrane <mctch@yahoo.com>2009-12-21 21:19:57 -0700
commit6e9ad5b02b3825a3e7e2821c7bd2893ba19b7969 (patch)
treeeb4fd9a8c464ff5fc168f8acde3c549030fd4fc3 /config/vhosts
parent98b50f46c2d617766024c5b0941cdf12c8c8937d (diff)
downloadpfsense-packages-6e9ad5b02b3825a3e7e2821c7bd2893ba19b7969.tar.gz
pfsense-packages-6e9ad5b02b3825a3e7e2821c7bd2893ba19b7969.tar.bz2
pfsense-packages-6e9ad5b02b3825a3e7e2821c7bd2893ba19b7969.zip
vHosts adjust the naming convention of the files for so that the main http service doesn't show started when the ssl service is running unless it is actually running.
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`"
)
);