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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > Problem with re-writes

Reply
 
Thread Tools Display Modes
  #1  
Old 04-05-2007, 03:02 AM
Dru Dru is offline
Member
 
Join Date: Apr 2007
Location: Grimsby, UK
Posts: 16
Default 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.
Reply With Quote
  #2  
Old 04-05-2007, 11:06 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
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.
Reply With Quote
  #3  
Old 04-05-2007, 11:14 AM
Dru Dru is offline
Member
 
Join Date: Apr 2007
Location: Grimsby, UK
Posts: 16
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.

Last edited by Dru; 04-05-2007 at 11:17 AM..
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 01:58 AM.



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