Home ·  Knowledge Base ·  News ·  Contact  

 Knowledge Base


Web Servers

Mail Servers

FTP Servers

Firewall / Security

Intrusion Detection

FreeBSD General

Solaris General

Linux General







 Web Servers

Go Back  ·   Config

AuthMySQL, autheticate against MySQL  

First, you need mod_auth_mysql. In Gentoo Linux, you can get this by doing the following:

emerge -pv mod_auth_mysql

Then if everything looks allright, you can do a
^p (or a emerge -v mod_auth_mysql, if you will).

Then you need to edit your apache configuration to load the module. In Gentoo, you do this by editing /etc/apache2/conf/apach2.conf and adding:

LoadModule mysql_auth_module /usr/lib/apache2-extramodules/mod_auth_mysql.so

Now you should restart apache. Then you can add the authentication config in either a .htaccess file in a directory, or in your vhosts.conf file (or really, any apache config file).


How's your network?, Inc. © 2001-2024