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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Per-Context Access Control

Reply
 
Thread Tools Display Modes
  #1  
Old 06-26-2007, 10:45 AM
artagesw artagesw is offline
Member
 
Join Date: Jun 2007
Posts: 24
Default Per-Context Access Control

Is it possible to "DENY ALL" at the virtual host level and then allow specific IPs to access specific URLs within the virtual host at the context level?

I have tried this, but the IPs are not granted access. It seems that the virtual host level access control overrides the context level. I expected the reverse: that the per-context access control settings would override any set at the virtual host or server level (since it is more specific).
Reply With Quote
  #2  
Old 06-26-2007, 01:52 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Since the access controls are applied at different stage, only IPs pass server level can reach vhost, if it passes vhost level then reach context level. That is how it works.

You can use a vhost level rewrite rule to implement what you want.
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 06:37 PM.



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