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