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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > LimitExcept not working

Reply
 
Thread Tools Display Modes
  #1  
Old 12-06-2009, 03:41 PM
JorgeC JorgeC is offline
New Member
 
Join Date: Dec 2009
Posts: 8
Default LimitExcept not working

I been working with a customer with an issue that I realized that is a problem related of litespeed since when I tried with apache works perfectly fine (even on the same server).

My customer is trying to allow GET and password protect all the other calls. So, what he did was password protect the folder and add on the .htaccess of that folder this lines

<LimitExcept GET>
Require valid-user
</LimitExcept>

That should prevent to be prompted for username/password when you only browse the page, however, no matter what, I keep getting prompted for username/password. Changing <LimitExcept GET> to <LimitExcept GET POST> suddenly stops requiring authentication (for both operations). Changing it to <LimitExcept GET OPTIONS> (or HEAD or any other method in place of OPTIONS), or <LimitExcept POST> goes back to requiring auth for both GET and POST. Similar results occur with <Limit> directives (putting either GET or POST results in auth required for everything; putting any other method(s) results in no auth required for anything).

I already emailed to support but taking in consideration that my 3 last emails were ignored I guess that this is a good way to report it.
Reply With Quote
  #2  
Old 12-07-2009, 04:00 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
<Limit> and <LimitExcept> support in LSWS is limited.
Right now only support "GET POST" together.
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 11:09 AM.



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