[users@httpd] Cascading Allow/Deny directives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux