]> granicus.if.org Git - apache/commitdiff
Catch up with the actual modern way of allowing/denying access
authorDaniel Gruno <humbedooh@apache.org>
Tue, 7 May 2013 12:08:08 +0000 (12:08 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Tue, 7 May 2013 12:08:08 +0000 (12:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1479873 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/misc/security_tips.xml

index efa1f8f7fda79574fa0a92eb0b36288fe3a61416..79b25c6d9a91668d81a66125dd5c4dca186264db 100644 (file)
 
     <highlight language="config">
 &lt;Directory /&gt;
-    Order Deny,Allow
-    Deny from all
+    Require all denied
 &lt;/Directory&gt;
     </highlight>
 
 
     <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>
 
 
     <highlight language="config">
 &lt;Files ".ht*"&gt;
-    Order allow,deny
-    Deny from all
+    Require all denied
 &lt;/Files&gt;
     </highlight>