Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jul 2005
    Posts
    209

    Default mod_auth_mysql and htaccess

    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.

  2. #2
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default

    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

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  3. #3
    cPanel Staff
    Join Date
    Mar 2004
    Posts
    704

    Default

    .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 by cpdan; 04-09-2008 at 01:17 PM.

  4. #4
    Member
    Join Date
    Jun 2004
    Posts
    57

    Default

    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.

  5. #5
    cPanel Staff
    Join Date
    Mar 2004
    Posts
    704

    Default

    Quote Originally Posted by aeroweb View Post
    What is the best way to install mod_auth_mysql on cpanel?
    Go into easyapache via WHM, click on "Help", click on 'Cpanel::Easy Framework POD'

    and/or participate in:

    http://forums.cpanel.net/showthread.php?t=74851

    and it just might get added

  6. #6
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    Default

    i have the same problem!

    anyone figure out a solution?

    thanks.

    -zac

Similar Threads & Tags
Similar threads

  1. Mod_auth_mysql
    By soundguy in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 11-27-2010, 01:58 PM
  2. mod_auth_mysql
    By 123 in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 03-24-2005, 09:53 AM
  3. mod_auth_mysql
    By alterahosting in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-14-2003, 04:21 PM
  4. Mod_Auth_Mysql
    By jrplaz in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-15-2003, 12:09 AM
  5. mod_auth_mysql
    By m0bster in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-20-2002, 09:23 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube