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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Context settings to block directories

Reply
 
Thread Tools Display Modes
  #1  
Old 06-07-2006, 06:09 PM
zellster zellster is offline
Senior Member
 
Join Date: Sep 2004
Posts: 55
Default Context settings to block directories

Hello,

I have installed eventum (http://eventum.mysql.org/wiki/index.php/Main_Page) under LiteSpeed and things seem to work. As past of post-installation, it is recommended that the web server prevent access to the logs/ and setup/ directories. To do so, I tried to configure Context for my VH.

However while I could block access to the directory itself, files underneath the directory were still accessible.

Example context:

URI --> /eventum/logs/
Location --> <blank>
Accessible --> <No>

http://localhost/eventum/logs/ is blocked, but http://localhost/eventum/logs/errors.log is not.

Thanks!

lsws 2.1.16 Enterprise
Reply With Quote
  #2  
Old 06-07-2006, 08:09 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
That's strange. My test shows that it works.
Unless there is a high priority context matching errors.log, it should not happen. Please try to adjust the sequence number of /eventun/logs/ to the lowest to give it higher priority. If the problem persist, please send us some debug log for analysis.
Reply With Quote
  #3  
Old 06-07-2006, 10:37 PM
zellster zellster is offline
Senior Member
 
Join Date: Sep 2004
Posts: 55
You are correct, my browser was being a little too aggressive with GET caching. After clearing the cache, the context is working as expected.

Thanks.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
URI only works under "/" in rails context dlhhyct Ruby/Rails 3 10-22-2006 11:34 AM
authorization realm in rails context jdan Install/Configuration 2 10-19-2006 07:11 PM
context for CGI script always says "access denied" henpa Install/Configuration 1 03-28-2006 09:43 AM
Context with "exp: ..." URI don't seem to work Roman2K Bug Reports 7 11-01-2005 09:10 AM
1.5RC1 context xing Bug Reports 2 04-28-2004 09:27 AM


All times are GMT -7. The time now is 10:59 AM.



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