LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] Problem With HTTP Auth

Reply
 
Thread Tools Display Modes
  #1  
Old 03-22-2012, 11:16 PM
Ghan_04 Ghan_04 is offline
Member
 
Join Date: Jun 2010
Posts: 14
Default [solved] Problem With HTTP Auth

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?

Last edited by NiteWave; 03-23-2012 at 07:26 PM..
Reply With Quote
  #2  
Old 03-23-2012, 10:16 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
litespeed running user (i.e. nobody) is different from lsadm (running user for lsws admin web console which manage/manipulate lsws configuration). lsws running user (nobody) is for lsws access resource resides on server on behalf of end user. lsadm is for lsws backend admin to manage lsws.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:18 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.