Re: "Deny" directives silently ignored in config files

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

 



On Wed, Apr 18, 2012 at 10:07:56AM +0200, Matthieu Moy wrote:
> I tried the following:
> 
> <Location /tmp/>
> Order deny,allow
> Deny from all
> #RewriteEngine On
> #RewriteRule . - [F]
> </Location>

If you use 

	Order allow,deny

instead the configuration should deny all requests explicitly. You might
also add

	AllowOverride None

just to be really safe.

HTH,

Pete
-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107

Attachment: pgpAGerjVPeNN.pgp
Description: PGP signature


[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