LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Apache Migration/Compatibility (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=24)
-   -   Problem with re-writes (http://www.litespeedtech.com/support/forum/showthread.php?t=963)

Dru 04-05-2007 03:02 AM

Problem with re-writes
 
Hi there,

I've successfully installed litespeed and replaced apache on my cpanel server (I should add the difference is quite incredible). I'm just having a problem with re-writes on a couple of sites.

I use some software called Symphony and it relies quite heavily on rewrites, you can see the contents of the htaccess file here

http://creativeflux.co.uk/htaccess.txt

Now, symphony allows me to write a url like this

http://sites.com/?debug

so that I can view debug code.

However litespeed re-writes that url to

http://sites.com//?debug

Which doesn't work because of the extra slash. Is there any way to workaround this until it's fixed (if it's a bug that is).

Thanks.

mistwang 04-05-2007 11:06 AM

This is caused by a bug in our rewrite engine, will be fixed in 3.0.2.
As a temp fix, you can try replacing "REQUEST_URI" with "CURRENT_URI", which is LiteSpeed specific rewrite variable.
3.0.2 will be available soon.

Dru 04-05-2007 11:14 AM

Changing request_uri to current_uri didn't work, but I can live with this not working until the next release as the performance is so much better. :)


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