upsforum

Well-Known Member
Jul 27, 2005
474
0
166
Dear,

I have installed the mod_auth_mysql and it right and work, but now the htaccess directory protection standard it not work, I set a directory in cpanel with htpasswd but it not work.
 

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
I believe there is a conflict with the Apache Module Passthrough Authentication that Cpanel uses .... if I recall. We had a similar problem a while back when using the auth_mysql and had to remove it.

Mickalo
 

cPDan

cPanel Staff
Staff member
Mar 9, 2004
724
15
243
.htaccess protection doesn't use mod_auth_passthrough, it uses basic auth, putting the auth info in .htpasswd file. mod_auth_mysql apparently takes that over and since the user/pass is no in the db it can't authenticate.

I'd recommend properly configuring mod_auth_mysql to not interfere with .htaccess basic auth.
 
Last edited:

aeroweb

Well-Known Member
Jun 4, 2004
74
2
158
What is the best way to install mod_auth_mysql on cpanel? Do we still have to build it manually for apache or is there an automated cpanel option? I didn't see an option in easy apache but I did find a cpanel uninstall script for it:

Code:
/scripts/nomodauthmysql
I figure if there is an uninstall script there must be an install script too somewhere? I was hoping there was something built into cpanel to install mod_auth_mysql so that I wouldn't have to do it manually after every automatic cpanel update.