LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   Rewrite problem (http://www.litespeedtech.com/support/forum/showthread.php?t=3491)

tonyedgecombe 11-03-2009 05:16 AM

Rewrite problem
 
There seems to be a small problem with rewrite, if I have an entry like this in my htaccess:

Code:

Redirect permanent /index.html http://www.domain.com
then Litespeed continually redirects until the browser errors.

Apache is happy with this redirect.

envygeeks 11-03-2009 11:17 PM

Try removing index.html as an index. It seems that it is simply picking up / as index.html because theoretically / is "index.html" so I'm thinking if you remove index.html from the index list it might work? I know it defeats the logic probably but meh, it's worth a try right?

Elik 11-21-2009 09:53 AM

Rewrite Issue
 
Hello,

I can confirm this same issue is still present. It goes into the continual loop when it have the redirect line in it, as shown:

redirect 301 /web-site-hosting/best-Web-site-hosting-service.html http://www.micfo.com/best-web-hosting.html
redirect 301 /web-site-hosting/multiple-domain-name-hosting.html http://www.micfo.com/multiple-domain-hosting.html
redirect 301 /web-site-hosting/uae-web-site-hosting.html http://www.micfo.com/uae-web-hosting.html
redirect 301 /webhosting.html http://www.micfo.com/cpanel-web-hosting.html
redirect 301 /whymicfo.html http://www.micfo.com/web-hosting-awards.html

redirect 301 /aboutus.html http://www.micfo.com/
redirect 301 /affiliate http://www.micfo.com/
redirect 301 /cheap-affordable-web-site-hosting.html]shared http://www.micfo.com/
redirect 301 /come/linasg http://www.micfo.com/
redirect 301 /flash/edora.htm http://www.micfo.com/
redirect 301 /free-tou.html http://www.micfo.com/
redirect 301 /freetrial.html http://www.micfo.com/
redirect 301 /ftp.html http://www.micfo.com/
redirect 301 /resellers-web-site-hosting.html]cpanel http://www.micfo.com/
redirect 301 /review.html http://www.micfo.com/
redirect 301 /super-internet-hosting-plans.html http://www.micfo.com/
redirect 301 /super.html http://www.micfo.com/
redirect 301 /technical-faq.html http://www.micfo.com/
redirect 301 /web-hosting-discount.html http://www.micfo.com/
redirect 301 /web-hosting-freetrial.html http://www.micfo.com/
redirect 301 /web-site-hosting/ http://www.micfo.com/
redirect 301 /web-site-hosting/Unix-Web-site-hosting-provider.html http://www.micfo.com/
redirect 301 /web-site-hosting/cheap-internet-Web-site-hosting.html http://www.micfo.com/
redirect 301 /web-site-hosting/cheap-internet-web-site-hosting.html http://www.micfo.com/
redirect 301 /web-site-hosting/cheap-web-hosting-package.html http://www.micfo.com/
redirect 301 /wht.html http://www.micfo.com/

It works under apache, but when switched to litespeed, it loops. I had to rewrite the entire batch under mod_rewrite rules, but this need to be looked into in case this hits other people for this issue as well.

This is on the 4.1b2 version, since I have to use this one for the upload progress bug fix for it.


All times are GMT -7. The time now is 06:40 PM.