Hi,
I am trying out the LiteSpeed server (3.3.4 standard on Linux), and generally liking it very much! But I think I may have found a bug in the .htaccess "Redirect" directive processing when the original URL exists.
For example, it will fail to redirect with this entry if "dir" exists on the server:
Redirect /dir/ http://otherserver.com/dir/
But it will work if it is changed to a "RedirectMatch":
RedirectMatch /dir/(.*) http://otherserver.com/dir/$1
The redirect also seems to be fine if it is set in the control panel (Context) instead. So it looks like the problem is something specific to the .htaccess "Redirect" processing.
Let me know if you need any additional information.
I am trying out the LiteSpeed server (3.3.4 standard on Linux), and generally liking it very much! But I think I may have found a bug in the .htaccess "Redirect" directive processing when the original URL exists.
For example, it will fail to redirect with this entry if "dir" exists on the server:
Redirect /dir/ http://otherserver.com/dir/
But it will work if it is changed to a "RedirectMatch":
RedirectMatch /dir/(.*) http://otherserver.com/dir/$1
The redirect also seems to be fine if it is set in the control panel (Context) instead. So it looks like the problem is something specific to the .htaccess "Redirect" processing.
Let me know if you need any additional information.