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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > .htaccess not working

Reply
 
Thread Tools Display Modes
  #1  
Old 10-09-2006, 08:54 AM
sth sth is offline
Member
 
Join Date: Apr 2006
Posts: 15
Post .htaccess not working

when enabled htaccess in one dir, browser fails to authenticate and continue to prompt for password.

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.

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

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


---

Thanks
Alessandro
Reply With Quote
  #2  
Old 10-09-2006, 10:54 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
For security reasons, the litespeed by default does not allow access to /etc/ folder.

You can change it via "Server -> Security -> Access Denied Directories" in the web admin gui.
Reply With Quote
  #3  
Old 10-09-2006, 01:12 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
/etc/ for password file probably is fine, fixed a bug related to authentication configuration in htaccess, fix will be in 2.2.3 release.
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 05:41 PM.



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