"logging in.." page keeps reloading with remote auth
Posted: Wed Jul 27, 2011 11:10 pm
Hi,
Eventually I'm trying to get LDAP authentication to work using remote auth, but for now even with a simple AuthUserFile setup in a .htaccess file in the top level /var/www/html/zm directory, the login page keeps reloading over and over again after I login in the Apache authentication window. I've tried setting it to use remote auth with both plain and hashed AUTH_RELAY, but I get the same result where it says "Logging in.." and that page keeps reloading itself. I've also tried setting the user in the zm database to have no password and removing the user completely but same results there.
Using 1.24.4, here's my .htaccess file under /var/www/html/zm :
Here's my /etc/httpd/conf.d/zm.conf :
If I set it to remote, but don't have a .htaccess file it takes me to the regular login page and I can login. Everything else works, I can monitor cameras, etc so the setup is good as long as I don't use remote login with a .htaccess file that asks me to supply a login and password. Note, I can use a .htaccess file with LDAP or AuthUserFile authentication with ZM set to do internal auth, but that defeats the purpose of remote auth since the user is then asked to login again using internal auth.
Using CENTOS 6.
Any Ideas?
Thanks,
Sabuj
Eventually I'm trying to get LDAP authentication to work using remote auth, but for now even with a simple AuthUserFile setup in a .htaccess file in the top level /var/www/html/zm directory, the login page keeps reloading over and over again after I login in the Apache authentication window. I've tried setting it to use remote auth with both plain and hashed AUTH_RELAY, but I get the same result where it says "Logging in.." and that page keeps reloading itself. I've also tried setting the user in the zm database to have no password and removing the user completely but same results there.
Using 1.24.4, here's my .htaccess file under /var/www/html/zm :
Code: Select all
AuthName 'ZM, enter your login and password'
AuthType Basic
AuthUserFile /home/me/htpasswd
Require valid-user
Code: Select all
<Directory "/var/www/html/zm">
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory "/var/www/html/zm/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
SetHandler cgi-script
AllowOverride All
</Directory>
Using CENTOS 6.
Any Ideas?
Thanks,
Sabuj