Hello,
I'm have trouble setting up HTTP authentication on one of my domains. I have a security realm defined for the vhost with a password file set and a user added to the file through Litespeed. Then I added a Static Context with URI = "/", Accessible = Yes, and Realm set to the realm I defined, however, this setup is not working. I get a prompt for a login when I visit the domain, but I can't login with the username and password I specified for the user DB file. I always just get the login popup again. When I check the log, this is all I get:
Authentication failed with user: 'admin'.
Any idea what I'm doing wrong?
Thanks.
EDIT: Got it. It seems that just because Litespeed can write to it does not mean that the user the webserver runs as (nobody) can see it - I had it in the conf directory where only lsadm had access.
Is there an explanation somewhere of the users that Litespeed has and what their roles are that I can read?
I'm have trouble setting up HTTP authentication on one of my domains. I have a security realm defined for the vhost with a password file set and a user added to the file through Litespeed. Then I added a Static Context with URI = "/", Accessible = Yes, and Realm set to the realm I defined, however, this setup is not working. I get a prompt for a login when I visit the domain, but I can't login with the username and password I specified for the user DB file. I always just get the login popup again. When I check the log, this is all I get:
Authentication failed with user: 'admin'.
Any idea what I'm doing wrong?
Thanks.
EDIT: Got it. It seems that just because Litespeed can write to it does not mean that the user the webserver runs as (nobody) can see it - I had it in the conf directory where only lsadm had access.
Is there an explanation somewhere of the users that Litespeed has and what their roles are that I can read?
Last edited by a moderator: