Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-30 Thread Matthieu Moy
Eric Covener writes: >> 1) I'd like to understand what was going on. From my understanding, the >> line above shouldn't have disabled other "Deny from" directives. Since >> are taken into account after , I'd understand that >> a "Order" directive could be problematic, but not how a can >> be so

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-26 Thread Eric Covener
> 1) I'd like to understand what was going on. From my understanding, the > line above shouldn't have disabled other "Deny from" directives. Since > are taken into account after , I'd understand that > a "Order" directive could be problematic, but not how a can > be so. The directives from mod_a

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-26 Thread Matthieu Moy
Noel Butler writes: > On Mon, 2012-04-23 at 09:04 +0200, Matthieu Moy wrote: > > Noel Butler writes: > > > Right, so have you changed it to Directory and does it now work? > > I tried , and it did not work. - > > You definitely have something broken then if Deny does not w

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-24 Thread Noel Butler
On Mon, 2012-04-23 at 09:04 +0200, Matthieu Moy wrote: > Noel Butler writes: > > > Right, so have you changed it to Directory and does it now work? > > I tried , and it did not work. - You definitely have something broken then if Deny does not work in a Directory statement For 2.2...

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-23 Thread Matthieu Moy
Noel Butler writes: > Right, so have you changed it to Directory and does it now work? I tried , and it did not work. Anyway, the "RewriteRule . - [F]" did work in the same place, so the / are taken into account, it's really about the "Deny from all". Thanks anyway, -- Matthieu Moy http://www

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-20 Thread Noel Butler
On Fri, 2012-04-20 at 11:50 +0200, Matthieu Moy wrote: > Noel Butler writes: > > > On Wed, 2012-04-18 at 10:07 +0200, Matthieu Moy wrote: > > > > I tried the following: > > > > > > Order deny,allow > > Deny from all > > #RewriteEngine On > > #RewriteRule . - [F] > >

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-20 Thread Matthieu Moy
Noel Butler writes: > On Wed, 2012-04-18 at 10:07 +0200, Matthieu Moy wrote: > > I tried the following: > > > Order deny,allow > Deny from all > #RewriteEngine On > #RewriteRule . - [F] > > > It should work, but unless there's a special need, you should be using

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-20 Thread Noel Butler
On Wed, 2012-04-18 at 10:07 +0200, Matthieu Moy wrote: > I tried the following: > > > Order deny,allow > Deny from all > #RewriteEngine On > #RewriteRule . - [F] > > It should work, but unless there's a special need, you should be using directory not location, for apache 2.2.22 and less:

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-19 Thread Matthieu Moy
Matthieu Moy writes: >> You might also add >> >> AllowOverride None > > I'll try that I did try, and it did not change the problem. Deny directives are still ignored. -- Matthieu Moy http://www-verimag.imag.fr/~moy/ - T

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-18 Thread Matthieu Moy
Pete Houston writes: > If you use > > Order allow,deny > > instead the configuration should deny all requests explicitly. I tried both orders to be sure, and neither had any effect. > You might also add > > AllowOverride None I'll try that (I forgot to say that I do have a test vi

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-18 Thread Pete Houston
On Wed, Apr 18, 2012 at 10:07:56AM +0200, Matthieu Moy wrote: > I tried the following: > > > Order deny,allow > Deny from all > #RewriteEngine On > #RewriteRule . - [F] > If you use Order allow,deny instead the configuration should deny all requests explicitly. You might also add

[users@httpd] "Deny" directives silently ignored in config files

2012-04-18 Thread Matthieu Moy
Hi, I have a server running Apache HTTPD 2.2.16, installed as Debian package (Debian Squeeze). Some time ago, "Deny from XXX" directives were correctly taken into account, both in .htaccess files and in system-wide configuration files (/etc/apache2/*). I noticed recently that it is no longer the