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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > FileMatch not working?

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2008, 09:35 PM
travisbell travisbell is offline
Senior Member
 
Join Date: Jan 2007
Location: Calgary, Canada
Posts: 51
Default FileMatch not working?

Hey guys,

I am migrating some sites from an Apache environment where the following worked in my .htaccess...

Code:
<FilesMatch \"test.html$\">
 Order deny,allow
 Deny from all
</FilesMatch>
Doesn't seem to in LS. Anything special I need to?
__________________
Travis Bell
Meticulo
Reply With Quote
  #2  
Old 09-04-2008, 07:12 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
is the double quote being escaped in the configuration file? like \" or just " .
It should not be escaped.
Reply With Quote
  #3  
Old 09-07-2008, 10:29 PM
travisbell travisbell is offline
Senior Member
 
Join Date: Jan 2007
Location: Calgary, Canada
Posts: 51
Yup, that was it. Strange that it was working on our old configuration. Doesn't really matter though since it's working now.
__________________
Travis Bell
Meticulo
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 08:43 PM.



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