Re: mod_auth_mysql questions

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

 




Which version of Apache? later versions do not use that module. so to get help you should to specifiy the version

On Tue, 3 Jun 2008, Chris Cohen wrote:

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



--
Cheers
Res

I read usenet and lists in pine. But m$ outlook, thunderbird and gmail
often use html span/whatever for quotes, makes it hard to tell who said
what, so I dont try. If I ignore you, thats why! Use a compliant mailer.

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