Doporučuji:
Galerie fotek
Notebooky
Webdesign Praha
www.eprdel.cz
www.root.cz
Lumimont
A
/apache/bin/apxs -c -L/usr/local/lib/mysql/libmysqlclient.so.6 -lm \
../libexec/mod_auth_mysql.c
LoadModule mysql_auth_module libexec/mod_auth_mysql.so
AddModule mod_auth_mysql.c
CREATE TABLE user_auth (
user_name CHAR(30) NOT NULL,
user_passwd CHAR(20) NOT NULL,
user_group CHAR(10),
PRIMARY KEY (user_name)
);
AuthName "Authorization Required"
AuthType Basic
AuthGroupFile /dev/null
AuthMySQLCryptedPasswords Off
AuthMySQLHost localhost
AuthMySQLDB
AuthMySQLUserTable user_auth
AuthMySQLUser
AuthMySQLPassword
AuthMySQLNameField user_name
AuthMySQLPasswordField user_passwd
AuthMySQLAuthoritative On
require valid-user