On Mon, Nov 10, 2008 at 11:12 PM, Admin <apache-info@xxxxxxxxxxxxxxxx> wrote: > Hi all. > > I'm trying to convert an apache 2.0 config to 2.2 where the <Directory> > section in httpd.conf configures access via ldap, and an .htaccess file > overrides that setting for a particular subdirectory of that space. > > Here's what I'm trying to use on apache 2.2.9 (ip addresses and paths changed > to protect the innocent) > > <Directory /path/to/my/site/cgi-bin> > AllowOverride AuthConfig > AuthBasicProvider ldap > AuthName "Default Auth" > AuthType Basic > AuthLDAPURL "ldap://aa.bb.cc.dd/ou=people,dc=myplace,dc=com,dc=au?uid?one?" > require valid-user > AuthzLDAPAuthoritative off > Options FollowSymLinks > Order allow,deny > Allow from all > </Directory> > > And here's what I have in /path/to/my/site/cgi-bin/test/.htaccess: > > AuthName "Local Auth" > AuthType Basic > AuthUserFile /path/to/my/site/cgi-bin/test/.htpasswd > AuthGroupFile /dev/null > require user testme1 Shouldn't you actually have AuthBasicProvider in the htaccess? -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx