httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nico De Ranter <n...@sonycom.com>
Subject Re: [users@httpd] .htaccess not honoured anymore
Date Wed, 16 Sep 2009 15:54:41 GMT

One more note:  I grepped all the apache config files for
'allowoverride': all of them are either 'All' or 'None' (in which case
garbage in .htaccess shouldn't result in a server error as it won't be
read at all).  So I'm sure .htaccess is read and no allowoverride
statement keeps me from using 'require', but it still doesn't work.  Any
ideas what else may be wrong?

Nico

On Wed, 2009-09-16 at 17:51 +0200, Nico De Ranter wrote:
> Hmm,
> 
> following the troubleshooting section on
> http://httpd.apache.org/docs/2.2/howto/htaccess.html I put some garbage
> in the .htaccess and got a server error. So the .htaccess is read,
> however the 'require' directive doesn't seem to have any effect anymore?
> 
> Nico
> 
> On Wed, 2009-09-16 at 17:10 +0200, Nico De Ranter wrote:
> > Hi,
> > 
> > I recently enabled access control on all folders of my apache server by
> > adding the following section:
> > 
> > <Location "/">
> >         AuthzLDAPAuthoritative off
> >         AuthBasicProvider ldap
> >         AuthType Basic
> > ...
> > 
> >         Require valid-user
> > </Location>
> > 
> > The idea is that I can refine this for every folder by adding something
> > like:
> > 
> > <Location "/trac/mytrac">
> >         Require ldap-group ...
> > </Location>
> > 
> > without having to copy the other Auth... directives (which contain the
> > username and password for my LDAP server).
> > 
> > This works fine, however after doing this all .htaccess files in user's
> > homedirectories are being ignored.
> > 
> > Any ideas how to fix this?
> > 
> > Nico
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > 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@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message