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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Blocking files by extension

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2007, 03:41 AM
Marcus Marcus is offline
Senior Member
 
Join Date: Feb 2007
Posts: 69
Default Blocking files by extension

Hi,

Is there any way to restrict access to files by file extension (e.g. restrict access to all files ending in '.inc') ? I've seen this in other webservers, but I can't seem to find it in the documentation for Litespeed.

Thanks for any responses.
Reply With Quote
  #2  
Old 02-28-2007, 07:35 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
There are too many ways. Actually, you can do whatever method you used with Apache.
Uses rewrite Rules, or define a matching context with access denied, from .htaccess etc.
Reply With Quote
  #3  
Old 02-28-2007, 03:09 PM
Marcus Marcus is offline
Senior Member
 
Join Date: Feb 2007
Posts: 69
Thanks, I'll check it out.
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:31 PM.



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