Protected Directory problem login

Discussion in 'General' started by BarzonCL, Jan 21, 2014.

  1. BarzonCL

    BarzonCL Member

    [Solved] Protected Directory problem login

    Hello guys, I have a problem with LTWS on cPanel.
    Before disable Apache on the server, the login user/pass of a protected directory works perfect, but after the change to LT, the protected directory shows the login window but, doesn't login, the user and passwords are ok, but doesn't work, after "login" the windows appears again (login window).

    Any one has the same issue?
    How can I fix it?

    cPanel WHM 11.40.1 (build 9) , Litespeed 4.2.6
    CENTOS 5.10 i686
    Last edited: Jan 25, 2014
  2. mistwang

    mistwang LiteSpeed Staff

    What authentication realm is used?
    we need to check the content of .htaccess file for the protected directory.
    Please check the error_log for any related errors.
  3. BarzonCL

    BarzonCL Member

    Here is the content:

    <IfModule mod_rewrite.c>

    #Disable rewriting
    RewriteEngine Off

    ErrorDocument 401 "Unauthorized"
    AuthName "AdminDB"
    AuthUserFile "/home/evolutio/.htpasswds/public_html/esp/test/passwd"
    AuthType Basic
    require valid-user

    This is generated by cPanel and works in Apache

    The error_log doesn't show anything bad.
    Last edited: Jan 24, 2014
  4. BarzonCL

    BarzonCL Member

Share This Page