LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   htaccess problem (http://www.litespeedtech.com/support/forum/showthread.php?t=5829)

TheMask 04-05-2012 10:38 AM

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?

webizen 04-05-2012 01:14 PM

It is '$filtre'. In Apache, '$filtre' is treated as variable name (not 'filtre'). LSWS does not allow '$filtre'.

TheMask 04-05-2012 01:26 PM

thx fixed...

webizen 04-05-2012 04:41 PM

BTW, LSWS will add support to '$filter' in rewrite to be compatible with Apache soon.


All times are GMT -7. The time now is 01:31 AM.