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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > htaccess problem

Reply
 
Thread Tools Display Modes
  #1  
Old 04-05-2012, 10:38 AM
TheMask TheMask is offline
Member
 
Join Date: Mar 2012
Posts: 22
Default htaccess problem

[[HTAccess]] rewrite: '$' must be followed by a digit for a RewriteRule backreference. while parsing: RewriteRule ^altsayfa-(.*)-(.*)-(.*).html sayfa2.php?Git=altkategorioku&$filtre=$1&katid=$2& id=$3

but this rule working at apache.

RewriteRule ^altsayfa-(.*)-(.*)-(.*).html sayfa2.php?Git=altkategorioku&$filtre=$1&katid=$2& id=$3

where is the problem?
Reply With Quote
  #2  
Old 04-05-2012, 01:14 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
It is '$filtre'. In Apache, '$filtre' is treated as variable name (not 'filtre'). LSWS does not allow '$filtre'.
Reply With Quote
  #3  
Old 04-05-2012, 01:26 PM
TheMask TheMask is offline
Member
 
Join Date: Mar 2012
Posts: 22
thx fixed...
Reply With Quote
  #4  
Old 04-05-2012, 04:41 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
BTW, LSWS will add support to '$filter' in rewrite to be compatible with Apache soon.
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 02:34 PM.



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