diff options
author | Renato Botelho <renato@netgate.com> | 2015-07-15 13:38:56 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-07-15 13:38:56 -0300 |
commit | 33b4e20672cc85ae1aa9bb7824367b294d7670ae (patch) | |
tree | 1f77697111ec21bd55b991cc18eb84fc6468571c /config | |
parent | 1c65f2425155f4ea2107bf8970e32c2a986a0220 (diff) | |
parent | 16d830569f97cbc848c65668d711eb12d49b1b9e (diff) | |
download | pfsense-packages-33b4e20672cc85ae1aa9bb7824367b294d7670ae.tar.gz pfsense-packages-33b4e20672cc85ae1aa9bb7824367b294d7670ae.tar.bz2 pfsense-packages-33b4e20672cc85ae1aa9bb7824367b294d7670ae.zip |
Merge pull request #896 from doktornotor/patch-2
Diffstat (limited to 'config')
-rw-r--r-- | config/apache_mod_security-dev/apache_mod_security.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/apache_mod_security-dev/apache_mod_security.inc b/config/apache_mod_security-dev/apache_mod_security.inc index 72c1f9b4..ed5596d6 100644 --- a/config/apache_mod_security-dev/apache_mod_security.inc +++ b/config/apache_mod_security-dev/apache_mod_security.inc @@ -603,8 +603,8 @@ EOF; } $vh_config.=" <Location ".($backend['sitepath'] ? $backend['sitepath'] : "/").">\n"; - $vh_config.=" ProxyPass balancer://{$backend['balancer']}{$backend['backendpath']}\n"; - $vh_config.=" ProxyPassReverse balancer://{$backend['balancer']}{$backend['backendpath']}\n"; + $vh_config.=" ProxyPass balancer://{$backend['balancer']}".($backend['backendpath'] ? $backend['backendpath'] : "/")."\n"; + $vh_config.=" ProxyPassReverse balancer://{$backend['balancer']}".($backend['backendpath'] ? $backend['backendpath'] : "/")."\n"; if ($backend['compress']== "no") $vh_config.=" SetInputFilter INFLATE\n SetOutputFilter INFLATE\n"; if ($backend['modsecgroup']!="" && $backend['modsecgroup']!="none" && $mods_settings['enablemodsecurity']=="on"){ |