I can't find in the manual if it is possible to cascade Allow/Deny directives.

I made some tests and I think it's not possible.

For instance:

<Directory "/">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from 127.0.0.1
</Directory>

<Directory "/www">
    Options +Indexes
    Allow from example.com
</Directory>

In the above example the Options are cascaded but the Order/Allow/Deny from "/" are not considered. Actually "/www" are accessed from all.

My idea is to restrict the access from all and allow per <Directory>. But I have some domains that have access to many directories and probably I will repeat them for every <Directory>. Is there another way?

Cheers

Júlio Maranhão


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to