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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Rewrite problem

Reply
 
Thread Tools Display Modes
  #1  
Old 11-03-2009, 05:16 AM
tonyedgecombe tonyedgecombe is offline
New Member
 
Join Date: Nov 2009
Posts: 7
Default 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.
Reply With Quote
  #2  
Old 11-03-2009, 11:17 PM
envygeeks envygeeks is offline
New Member
 
Join Date: Nov 2009
Posts: 4
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?
Reply With Quote
  #3  
Old 11-21-2009, 09:53 AM
Elik Elik is offline
Member
 
Join Date: Nov 2009
Posts: 24
Default 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.
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 02:38 AM.



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