Answer the question
In order to leave comments, you need to log in
Apache HTTP Authorization via MYSQL query?
ServerAdmin [email protected]
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
DBDriver mysql
DBDParams "host=10.1.1.50 dbname=data user=mysql pass=mysql "
DBDMin 4
DBDKeep 8
DBDMax 20
DBDExptime 300
AuthType Basic
AuthBasicProvider socache dbd
AuthnCacheProvideFor dbd
AuthnCacheContext my-server
Require valid-user
AuthDBDUserPWQuery "SELECT ip FROM users WHERE ip = '%a' and users.status = 1"
Answer the question
In order to leave comments, you need to log in
but probably not. judging by the dock , he does not know how to transfer ip to the request
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question