Re: urgent help needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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=*)
>
> <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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux