Hi Guys, I am working on FC8 (fedora core). i want to authenticate a script in cgi-bin before any user can execute it. now whenever i execute authenticate.py (placed at /usr/local/apache2/cgi-bin/authenticate) i am getting ldap authentication dialog again and again (though i have provided correct login information)
for this effect i made changes in httpd.conf (placed at "/etc/httpd/conf/httpd.conf") and added lines as: <Directory "/usr/local/apache2/cgi-bin/authenticate"> AllowOverride AuthConfig </Directory> in folder /usr/local/apache2/cgi-bin/authenticate, i created .htaccess and added following lines in it: AuthType Basic AuthName 'LDAP Login (Please do not add prefix before username)' AuthLDAPUrl ldap://machine-ip:389/ou=people,o= xyz.com?uid?sub?(objectClass=*)<http://xyz.com/?uid?sub?%28objectClass=*%29> <Files "authenticate.py"> require valid-user </Files> Please help Thanks & regards
