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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > On 2.2.3 require user .htaccess not working

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2006, 12:39 AM
sth sth is offline
Member
 
Join Date: Apr 2006
Posts: 15
Default On 2.2.3 require user .htaccess not working

After the update to 2.2.3 release when enabled htaccess in one dir, browser fails to authenticate user and continue to prompt for password.

If I use a member of the "required group" the system accept the login

This is my .htaccess file:
AuthUserFile /etc/httpusers/.users
AuthGroupFile /etc/httpusers/.groups
AuthName "Statistiche sito"
AuthType Basic

<limit GET>
require user john
require group sth
</limit>

---

If I use john (that isn't a member of sth group), browser fails to authenticate user and continue to prompt for password, but if I use mery, that is a member of sth group, I have access to the directory.

I use a VHtemplates

For every site I have a "stats" directory with a specific .htaccess where is specified the required user and a required group in order to view the dir content.

If I use realm and context the user is autenticated but the problem is that I can specified "one user" for "one site" and with VHtemplates if I enable realm and context all the user in my password file are authenticated in every site.


---

Thanks
Alessandro
Reply With Quote
  #2  
Old 10-18-2006, 05:28 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Only the last require directive is effective I think.
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 03:30 PM.



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