[PLDWWW] page changed: packages:apache

"Jan Rękorajski (baggins)" baggins at pld-linux.org
Tue Jun 11 20:13:58 CEST 2013



--- https://www.pld-linux.org/packages/apache?rev=1370973761
+++ https://www.pld-linux.org/packages/apache
@@ -14,5 +14,26 @@
  
  ===== Upgrading =====
  
  Detailed information about upgrading and all changes between apache 2.2 and 2.4 can be found [[https://httpd.apache.org/docs/2.4/upgrading.html|here]]
+ 
+ ===== Apache 2.2 and 2.4 compatible configs =====
+ 
+ If you need to support both Apache 2.2 and 2.4, then, for example, if Apache 2.2 config contained:
+ 
+ <code apache>
+ Allow from all
+ </code>
+ 
+ you need to use:
+ 
+ <code apache>
+ <IfModule mod_authz_core.c>
+     # Apache 2.4
+     Require all granted
+ </IfModule>
+ <IfModule !mod_authz_core.c>
+     Order allow,deny
+     Allow from all
+ </IfModule>
+ </code>
  


Diff URL:
  https://www.pld-linux.org/packages/apache?do=diff&r1=1370973761&r2=1370974438
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list