Re: "Deny" directives silently ignored in config files

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

 



On Wed, 2012-04-18 at 10:07 +0200, Matthieu Moy wrote:

I tried the following:

<Location /tmp/>
Order deny,allow
Deny from all
#RewriteEngine On
#RewriteRule . - [F]
</Location>


It should work, but unless there's a special need, you should be using directory not location,
for apache 2.2.22 and less:

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

Will work, you do not have a directory statement for /tmp already do you? If so, is it before or after this location statement?

Attachment: signature.asc
Description: This is a digitally signed message part


[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