You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Konstantine <li...@gmail.com> on 2005/09/26 21:39:04 UTC

[users@httpd] Order directive usage

Hi
Assuming there will be no allow directive, is there a functional,
resource etc difference, or a reason why one should be used rather
than other, between

<Directory />
Order Deny,Allow
Deny from all
</Directory>

and

<Directory />
Order Allow,Deny
Deny from all
</Directory>

thanks
K

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Order directive usage

Posted by Joshua Slive <js...@gmail.com>.
On 9/26/05, Konstantine <li...@gmail.com> wrote:
> Hi
> Assuming there will be no allow directive, is there a functional,
> resource etc difference, or a reason why one should be used rather
> than other, between
>
> <Directory />
> Order Deny,Allow
> Deny from all
> </Directory>
>
> and
>
> <Directory />
> Order Allow,Deny
> Deny from all
> </Directory>

No, there is no difference.  (And, in fact, you could omit the last
"Deny from all" and there would still be no difference due to the
default acess state.)  It only matters if you plan to add other
Allow/Deny directives in the future.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org