On Tue, 13 Jul 2004, Konrad Heuer wrote: > I want to use modauthldap with Apache 1.3.29 to restrict access to some > web pages, especially to some dynamic ones generated by cgi scripts. > > LDAP authentication seems to work fine with following .htaccess file: > > AuthName "Realm:" > AuthType Basic > AuthLDAPurl ldap://localhost:389/ou=users,dc=domain,dc=country?uid > require valid-user > > The problem is: CGI scripts called by the HTML pages in the protected > directory don't see a REMOTE_USER environment variable (GET method), so > they don't know about the current user. > > Any ideas? I'd greatly appreciate any help.
Just for the archives - found the solution by myself: I forgot to include AllowOverride AuthConfig in the cgi-bin section of httpd.conf and and to copy .htaccess to the cgi-bin directory. Sorry ... Konrad Heuer ([EMAIL PROTECTED]) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"