Comments on How To Password-Protect Directories With mod_auth_mysql On Apache2 (Debian Squeeze)
How To Password-Protect Directories With mod_auth_mysql On Apache2 (Debian Squeeze) This guide explains how to password-protect web directories (with users from a MySQL database) with mod_auth_mysql on Apache2 on a Debian Squeeze server. It is an alternative to the plain-text password files provided by mod_auth and allows you to use normal SQL syntax to create/modify delete users. You can also configure mod_auth_mysql to authenticate against an existing MySQL user table.
1 Comment(s)
Add comment
Comments
By: Rafa? Wo?niak
Instead of uncompress files to read:
cd /usr/share/doc/libapache2-mod-auth-mysql
gunzip DIRECTIVES.gz
vi DIRECTIVES
you can simple use zcat, zmore or zless:
zless /usr/share/doc/libapache2-mod-auth-mysql/DIRECTIVES.gz
zless /usr/share/doc/libapache2-mod-auth-mysql/USAGE.gz