Re: Deny/Allow directives within <Directory> have no effect [Workaround]

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

 



>> <Directory "/path/to/protected">
>>         Order deny,allow
>>         Allow from 192.168
>>         Deny from all
>>         AllowOverride All
>>         Options -Indexes
>> </Directory>

>> JkMount /protected/jsp/* tomcat_worker

>> 141.x.x.x - - [23/Sep/2008:13:28:34 +0200] "GET /protected/index.html HTTP/1.0" 200 7675 "-" "Wget/1.11"

You need to use <Location>, not <Directory>.

This content isn't served out of /path/to/protected, so the
configuration for that directory isn't applicable.

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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