Description: compliance with both Apache 2.4 and 2.2 Author: Xavier Guimard Bug: http://jira.ow2.org/browse/LEMONLDAP-571 Bug-Debian: http://bugs.debian.org/669808 Bug-Debian: http://bugs.debian.org/669809 Bug-Debian: http://bugs.debian.org/669822 Forwarded: http://jira.ow2.org/browse/LEMONLDAP-571 Last-Update: 2013-05-31 --- a/_example/etc/handler-apache2.conf +++ b/_example/etc/handler-apache2.conf @@ -21,17 +21,27 @@ # needed): choose your URL to avoid restarting Apache when # configuration change - Order deny,allow - Deny from all - Allow from 127.0.0.0/8 + + Order deny,allow + Deny from all + Allow from 127.0.0.0/8 + + = 2.4> + Require ip 127 + PerlHeaderParserHandler Lemonldap::NG::Handler->refresh # Uncomment this to activate status module # - # Order deny,allow - # Deny from all - # Allow from 127.0.0.0/8 + # + # Order deny,allow + # Deny from all + # Allow from 127.0.0.0/8 + # + # = 2.4> + # Require ip 127 + # # PerlHeaderParserHandler Lemonldap::NG::Handler->status # --- a/_example/etc/manager-apache2.conf +++ b/_example/etc/manager-apache2.conf @@ -12,8 +12,13 @@ # DocumentRoot DocumentRoot __MANAGERDIR__ - Order deny,allow - Allow from all + + Order allow,deny + Allow from all + + = 2.4> + Require all granted + Options +ExecCGI +FollowSymLinks @@ -21,8 +26,13 @@ Alias /doc/ __DOCDIR__ Alias /lib/ __DOCDIR__lib/ - Order allow,deny - Allow from all + + Order deny,allow + Allow from all + + = 2.4> + Require all granted + ErrorDocument 404 /notfound.html Options +FollowSymLinks --- a/_example/etc/portal-apache2.conf +++ b/_example/etc/portal-apache2.conf @@ -12,8 +12,13 @@ # DocumentRoot DocumentRoot __PORTALDIR__ - Order allow,deny - Allow from all + + Order allow,deny + Allow from all + + = 2.4> + Require all granted + Options +ExecCGI +FollowSymLinks @@ -29,26 +34,46 @@ # SOAP functions for sessions management (disabled by default) - Order deny,allow - Deny from all + + Order deny,allow + Deny from all + + = 2.4> + Require all denied + # SOAP functions for sessions access (disabled by default) - Order deny,allow - Deny from all + + Order deny,allow + Deny from all + + = 2.4> + Require all denied + # SOAP functions for configuration access (disabled by default) - Order deny,allow - Deny from all + + Order deny,allow + Deny from all + + = 2.4> + Require all denied + # SOAP functions for notification insertion (disabled by default) - Order deny,allow - Deny from all + + Order deny,allow + Deny from all + + = 2.4> + Require all denied + # SAML2 Issuer