Rewrite problem

Discussion in 'Bug Reports' started by tonyedgecombe, Nov 3, 2009.

  1. tonyedgecombe

    tonyedgecombe New Member

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

    envygeeks New Member

    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?
  3. Elik

    Elik New Member

    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.

Share This Page