Re: issues with <Directory> control

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

 



On 5/29/07, Pedro LaWrench <pedrolawrench@xxxxxxxxx> wrote:
In my main server, I allow all with
<Directory /mydocs>
Order allow,deny
Allow all
</Directory>

Then in a virtual server (different port) I have
<Directory />
Order deny,allow
Allow from 10.1.2.3
Deny from all
</Directory>

Yet, it appears that all hosts can access /mydocs through the virtual server.
Even with a deny for / in a virtual server config, is it true that more
specific directory entries *outside* the virtual server config will still be in
effect and take precedence?


Isn't this effectively:

Order deny,allow
Allow from 10.1.2.3
Deny from all
Allow from all


Mind the order that 'Order' will evaluate the merged directives.


--
Eric Covener
covener@xxxxxxxxx
[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