You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2013/05/07 14:08:09 UTC

svn commit: r1479873 - /httpd/httpd/branches/2.4.x/docs/manual/misc/security_tips.xml

Author: humbedooh
Date: Tue May  7 12:08:08 2013
New Revision: 1479873

URL: http://svn.apache.org/r1479873
Log:
Catch up with the actual modern way of allowing/denying access

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/misc/security_tips.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/misc/security_tips.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/misc/security_tips.xml?rev=1479873&r1=1479872&r2=1479873&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/misc/security_tips.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/misc/security_tips.xml Tue May  7 12:08:08 2013
@@ -360,8 +360,7 @@
 
     <highlight language="config">
 &lt;Directory /&gt;
-    Order Deny,Allow
-    Deny from all
+    Require all denied
 &lt;/Directory&gt;
     </highlight>
 
@@ -371,12 +370,10 @@
 
     <highlight language="config">
 &lt;Directory /usr/users/*/public_html&gt;
-    Order Deny,Allow
-    Allow from all
+    Require all granted
 &lt;/Directory&gt;
 &lt;Directory /usr/local/httpd&gt;
-    Order Deny,Allow
-    Allow from all
+    Require all granted
 &lt;/Directory&gt;
     </highlight>
 
@@ -438,8 +435,7 @@
 
     <highlight language="config">
 &lt;Files ".ht*"&gt;
-    Order allow,deny
-    Deny from all
+    Require all denied
 &lt;/Files&gt;
     </highlight>