aboutsummaryrefslogtreecommitdiffstats
path: root/config/vhosts
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2010-03-01 19:27:05 -0700
committermcrane <mctch@yahoo.com>2010-03-01 19:35:50 -0700
commitfaf7e411ec4ad3b8f16394167a1e45277283adac (patch)
tree1fc9ad11a2956f543bd82c5141376cf1145f42f0 /config/vhosts
parent05a1116c3d44fe5674bd4e9ea6cf54def8f959b1 (diff)
downloadpfsense-packages-faf7e411ec4ad3b8f16394167a1e45277283adac.tar.gz
pfsense-packages-faf7e411ec4ad3b8f16394167a1e45277283adac.tar.bz2
pfsense-packages-faf7e411ec4ad3b8f16394167a1e45277283adac.zip
Remove unused files for freeswitch_dev pkg, and update vhosts package fix http and add pcre to the php.ini so that preg works.
Diffstat (limited to 'config/vhosts')
-rw-r--r--config/vhosts/vhosts.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/config/vhosts/vhosts.inc b/config/vhosts/vhosts.inc
index 3602b40a..9f394fb0 100644
--- a/config/vhosts/vhosts.inc
+++ b/config/vhosts/vhosts.inc
@@ -136,6 +136,7 @@ function vhosts_sync_package_php()
$vhostarray_http[$x]['privatekey'] = '';
$vhostarray_http[$x]['enabled'] = $rowhelper['enabled'];
$vhostarray_http[$x]['description'] = $rowhelper['description'];
+ $server_port = $rowhelper['port'];
}
$x++;
}
@@ -267,7 +268,7 @@ function vhosts_sync_package_php()
$tmp .= "######### Options that are good to be but not neccesary to be changed #######\n";
$tmp .= "\n";
$tmp .= "## bind to port (default: 80)\n";
- $tmp .= "#server.port = 8001\n";
+ $tmp .= "server.port = $server_port\n";
$tmp .= "\n";
$tmp .= "#the regex method isn't working\n";
$tmp .= "#\$HTTP[\"host\"] =~ \"(^|\\.)host01\\.com\$\" {\n";
@@ -321,9 +322,6 @@ function vhosts_sync_package_php()
$tmp .= "\$SERVER[\"socket\"] == \"".$ipaddress.":".$port."\" {\n";
}
- if (strlen($rowhelper['description']) > 0) {
- $tmp .= "# ".$rowhelper['description']." \n\n";
- }
$tmp .= " \$HTTP[\"host\"] == \"".$host."\" {\n";
$tmp .= " server.document-root = \"/usr/local/vhosts/".$directory."\"\n";