Protected Directory problem login

#1
[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:

mistwang

LiteSpeed Staff
#2
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
Here is the content:

<IfModule mod_rewrite.c>

#Disable rewriting
RewriteEngine Off

</IfModule>
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:
Top