httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "syed mehdi" <smmeh...@gmail.com>
Subject Re: [users@httpd] urgent help needed
Date Tue, 22 Apr 2008 08:45:22 GMT
Thanks salih,
i added the directive
<Directory "/user/lib/cgi-bin/mine">
 AllowOverride AuthConfig
</Directory>
in config file after line: AccessFileName .htaccess,
but now while accessing the same url i am getting the error as:
[Tue Apr 22 14:11:28 2008] [alert] [client 127.0.0.1]
/usr/lib/cgi-bin/mine/.htaccess: Invalid command 'AuthLDAPURL', perhaps
mis-spelled or defined by a module not included in the server configuration
though the command is correct.
regards
syed

On Tue, Apr 22, 2008 at 1:31 PM, Mohammed Salih <linusali@gmail.com> wrote:

> Hi Sayed,
>
> Did you check if the directory /user/lib/cgi-bin/mine is having an
> AllowOverride AuthConfig in the apache configuration.
>
> Example:
>
> <Directory "/user/lib/cgi-bin/mine">
>  AllowOverride AuthConfig
> </Directory>
>
> OR
>
> <Directory "/user/lib/cgi-bin/mine">
>  AllowOverride All
> </Directory>
>
> to allow all .htaccess-able directives.
>
> Cheers
> Salih
>
> On Tue, Apr 22, 2008 at 11:37 AM, syed mehdi <smmehadi@gmail.com> wrote:
> > just wanted to know why LDAP authentication is not working for me in
> given
> > case (i have apache2 installed on my ubuntu 606):
> > i have placed .htaccess with these contents in /user/lib/cgi-bin/mine:
> > AuthType Basic
> > AuthName 'LDAP Login (Please do not add domainname\\ before username)'
> >  AuthLDAPURL
> > ldap://
> xyz.company.com:543/ou=people,o=company.com?uid?sub?(objectClass=*)<http://xyz.company.com:543/ou=people,o=company.com?uid?sub?%28objectClass=*%29>
> >
> > <Files "evaluatequery.py">
> >          require valid-user
> > </Files>
> >
> > and whenever i am trying to access url (which executes evaluatequery.py)
> :
> > http://localhost/cgi-bin/mine/evaluatequery.py
> >  i am not asked for ldap authentication, though the script gets executed
> > successfully.
> >
> > please help
> >
> > Thanks & Regards
> > Syed
>
> ---------------------------------------------------------------------
> 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