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?
signature.asc
Description: This is a digitally signed message part