Problem with re-writes

Discussion in 'Apache Migration/Compatibility' started by Dru, Apr 5, 2007.

  1. Dru

    Dru New Member

    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.
  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. Dru

    Dru New Member

    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: Apr 5, 2007

Share This Page