PDA

View Full Version : Problem with re-writes


Dru
04-05-2007, 04:02 AM
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, 12:06 PM
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, 12:14 PM
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. :)