htpasswd auth

Discussion in 'Bug Reports' started by IrPr, Aug 9, 2011.

  1. IrPr

    IrPr New Member

    Hi there,

    Its long time that customers are reporting that cPanel password protection feature doesn't work properly at my cPanel/Litespeed servers

    I've double checked my self and couldn't make it working
    It returns 401 for correct password

    here is configurations:

    .htaccess:
    Code:
    AuthType Basic
    AuthName "usr"
    AuthUserFile "/home/usr/.htpasswds/public_html/wp-admin/passwd"
    require valid-user
    
    tried to generate passwd file using htpasswd and cPanel but both not working
    also i just see bellow error related to this request:

    2011-08-09 13:55:59.042 [INFO] [IP:62506-0#APVH_usr.com] File not found [/home/usr/public_html/401.shtml]

    how to debug? any suggestion/

    Respect
  2. mistwang

    mistwang LiteSpeed Staff

    You can try enabling debug logging, also try an older release like 4.0.20 see if it is a bug introduced in 4.1.x.
  3. IrPr

    IrPr New Member

    switched back to 4.0.20 and works like a charm
    error log is already set to DEBUG
    u mean to increase debug level?
  4. mistwang

    mistwang LiteSpeed Staff

    OK, looks a bug in 4.1.x release. We are at the hostingcon now, will address this issue next week.
    Yes, change "Debug Level" to "HIGH" will give full debug log, by default, debug logging is disabled at "NONE" level.
  5. webizen

    webizen New Member

    could not reproduce in lab. please make sure password file DOES exist.

  6. mistwang

    mistwang LiteSpeed Staff

    We tested it against 4.1.3 release, it works fine in our lab. Have you tested 4.1.3?
    If it still does not work properly with 4.1.3, the best way to address it is to login to your server and take a look.
  7. IrPr

    IrPr New Member

    Yes working properly in latest 4.1.3
    however there is another bug with .3 which I sent you coredump but didn't receive any response yet

    Thanks

Share This Page