Wednesday, October 16, 2013

Apache REQUIRE order deny allow

Apache Server 2.4 has dropped the directives 

"Order" , "Allow" and "Deny" in favour of the new directive “Require”.


~ all requests denied : 

2.2 configuration:

Order deny,allow
Deny from all

2.4 configuration:

Require all denied


~  all requests allowed : 

2.2 configuration:

Order allow,deny
Allow from all

2.4 configuration:

Require all granted

No comments:

Post a Comment