httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Cohen <kildau...@gmx.de>
Subject [users@httpd] mod_auth_mysql questions
Date Tue, 03 Jun 2008 07:46:03 GMT
Hello,

thanks to Eric Covener I got apache's reverse proxy working with basic 
htpasswd authentication. But now that it's working, I want to 
authenticate Apache against a mysql database with about 15 users.
(I think I could write a script that syncs the database to the htpasswd 
file, but that is only my backup option).

What I tried is:
        <Location />
                AuthType Basic
                AuthName "Internal Proxy"
#                AuthUserFile /etc/apache2/htpasswd
               AuthMySQL               on
               AuthMySQL_Authoritative on
               AuthMySQL_Host          bender.unixhosts.org
               AuthMySQL_User          www-ext
               AuthMySQL_Password     password
               AuthMySQL_DB            network
               AuthMySQL_Group_Table   users
               AuthMySQL_Empty_Passwords off
               AuthMySQL_Encryption_Types MySQL
                Require valid-user
                ProxyPass               http://int.unixhosts.org:8080/
                ProxyPassReverse        http://int.unixhosts.org:8080/
        </Location>

But it just doesn't work. Nothing in the logs.

I am still pretty new to all this apache stuff, so please gimme a 
hint :)

-- 
Thank you
Chris

---------------------------------------------------------------------
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