aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/apache_mod_security/apache_mod_security.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc
index 28d5af62..4d30fd33 100644
--- a/config/apache_mod_security/apache_mod_security.inc
+++ b/config/apache_mod_security/apache_mod_security.inc
@@ -18,7 +18,7 @@ function generate_apache_configuration() {
// Generate mod_proxy specific configuration
$mod_proxy = "ProxyRequests on\n";
foreach($config['installedpackages']['apache_mod_security']['config'] as $ams) {
- $sitename = str_replace(" ", "", $ams['sitename']));
+ $sitename = str_replace(" ", "", $ams['sitename']);
$mod_proxy .= "ProxyPass /{$sitename}/ {$sitename} \n";
$mod_proxy .= "ProxyHTMLURLMap {$ams['siteurl']} /{$sitename} \n";
$mod_proxy .= "<Location /{$sitename}/>\n";