diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-22 22:48:17 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-22 22:48:17 -0400 |
commit | 758340d9b9242679eddc5abadeb15a4b8b98a866 (patch) | |
tree | 78e24c3d93b82eab4c702ec14d759cfd82619258 /config/apache_mod_security | |
parent | 3e2e25aa69fe2b823a910d23909b0cab42c0c516 (diff) | |
download | pfsense-packages-758340d9b9242679eddc5abadeb15a4b8b98a866.tar.gz pfsense-packages-758340d9b9242679eddc5abadeb15a4b8b98a866.tar.bz2 pfsense-packages-758340d9b9242679eddc5abadeb15a4b8b98a866.zip |
Move example to a php comment block and note that it should be preserved.
Diffstat (limited to 'config/apache_mod_security')
-rw-r--r-- | config/apache_mod_security/apache_mod_security.inc | 51 |
1 files changed, 29 insertions, 22 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc index 6c8faa8b..f37fc301 100644 --- a/config/apache_mod_security/apache_mod_security.inc +++ b/config/apache_mod_security/apache_mod_security.inc @@ -35,31 +35,38 @@ ProxyRequests off Allow from all </Proxy> -#----------------1 backend ip--------------------- -#<VirtualHost IP:port> -# ServerAdmin $serveradmin -# ServerName $primarysitehostname -# ServerAlias $additionalsitehostnames -# ProxyPass / $backendwebserverURL -# ProxyPassReverse / $backendwebserverURL -#</VirtualHost> -#where serveralias will be a space-separated list of "additional site hostnames" -#i.e. if you have www1.example.com and www2.example.com there, it's "ServerAlias www1.example.com www2.example.com" -#------------------------------------------------- - -#------------mutliple backend ips----------------- -# Add: -#<Proxy balancer://$sitename> -# BalancerMember $backend1 -# BalancerMember $backend2 -#</Proxy> -# Change: -# ProxyPass / balancer://$sitename/ -# ProxyPassReverse / balancer://$sitename/ -#------------------------------------------------- EOF; + /* ##################################################### + # Format for the Proxy servers: + # Please do not delete these from the source file + # in any "cleanups" that you feel you are performing. + # They are here for sanity checking the code. + #----------------1 backend ip--------------------- + #<VirtualHost IP:port> + # ServerAdmin $serveradmin + # ServerName $primarysitehostname + # ServerAlias $additionalsitehostnames + # ProxyPass / $backendwebserverURL + # ProxyPassReverse / $backendwebserverURL + #</VirtualHost> + #where serveralias will be a space-separated list of "additional site hostnames" + #i.e. if you have www1.example.com and www2.example.com there, it's "ServerAlias www1.example.com www2.example.com" + #------------------------------------------------- + #------------mutliple backend ips----------------- + # Add: + #<Proxy balancer://$sitename> + # BalancerMember $backend1 + # BalancerMember $backend2 + #</Proxy> + # Change: + # ProxyPass / balancer://$sitename/ + # ProxyPassReverse / balancer://$sitename/ + #------------------------------------------------- + ##################################################### + */ + // Setup mod_proxy entries if($config['installedpackages']['apachemodsecurity']) { foreach($config['installedpackages']['apachemodsecurity']['config'] as $ams) { |