httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1479872 - /httpd/httpd/trunk/docs/manual/misc/security_tips.xml
Date Tue, 07 May 2013 12:07:04 GMT
Author: humbedooh
Date: Tue May  7 12:07:03 2013
New Revision: 1479872

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

Modified:
    httpd/httpd/trunk/docs/manual/misc/security_tips.xml

Modified: httpd/httpd/trunk/docs/manual/misc/security_tips.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/misc/security_tips.xml?rev=1479872&r1=1479871&r2=1479872&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/misc/security_tips.xml (original)
+++ httpd/httpd/trunk/docs/manual/misc/security_tips.xml Tue May  7 12:07:03 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>
 



Mime
View raw message