Password Protected doesn't work

#1
Hello the community !

In my case, the demo /Protected/ can't be accessed because the default password 'test123' doesn't work.

So I entered 'test123' again in Virtual Host Example > Security > SampleProtectedArea + link conf/vhosts/Example/htpasswd
Then I did a gracefull restart
But it still doesn't work : the login popup always displays

My version : OpenLiteSpeed 1.5.11 (installed with yum on CentOS7 server)

I have noticed that the content of the htaccess file changes every time I try this operation
[root@ols ~]# cat /usr/local/lsws/conf/vhosts/Example/htpasswd
test:$1$dunTDTKn$rEYnm97dgpJXmwqBS.1bH1
user1:SQtevcsBBnBPY
[root@ols ~]# cat /usr/local/lsws/conf/vhosts/Example/htpasswd
test:$1$S0DMiMEs$T3EzxTkPXDw9tmfqY8WLm/
user1:SQtevcsBBnBPY


is it normal ?
What can I do so that the 'test123' password works again ?

I guess that when I will make it work on the /protected/ folder, the same operation will work on my vhosts.

Thanxs,

.Gilles
 
Last edited:

Cold-Egg

Administrator
#2
Hi,

This is a known issue and should has been fixed but not on the repository yet.
For now, you can try updating your htpasswd file with 644 permission then update password and test login again. It should works.

Best,
Eric
 
#3
I managed to make it work to put the htpasswd file inside Example/, user lsadm, mode 644.
inside conf/vhost/Example it doesn't work.
Thanks for the help !
 
Top