httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [users@httpd] 2.2.9 overriding AuthBasicProvider ldap with .htaccess files
Date Tue, 11 Nov 2008 14:55:10 GMT
On Mon, Nov 10, 2008 at 11:12 PM, Admin <apache-info@internode.com.au> 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@gmail.com

---------------------------------------------------------------------
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