Forum Moderators: open

Message Too Old, No Replies

Firebird infinite loop

.htm to .php and back

         

chewy

4:06 pm on Jan 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I've got a site I'm redoing.

The index page was index.php and now with the redo it is index.htm.

Sure enough, Google etc had index.php as the target page so I Googlers etc weren't able to see the site.

I got this fixed with a htaccess redirect.

Now all SE's and browsers seem to be fine - with one exception.

When I try to view the site via Firebird (yes, the older browser) it goes into this loop, with the status bar showing index.php calling index.htm which calls index.php ... etc.

This also happens when I Google in via Firebird.

It works fine with FireFox, Opera, IE.

Rebooting, reloading etc doesn't seem to clear the problem.

Go figure! This sure has my curiosity going. Anyone got any clue as to why this happens?

Is this anything I should worry about?

-C

Longhaired Genius

4:33 pm on Jan 9, 2005 (gmt 0)

10+ Year Member



In this situation I would redirect to / instead of /index.html, like:

RewriteRule ^index.php$ [example.com...] [R=301,L]

I figure I shouldn't be more specific than I need to be.

gmiller

5:46 pm on Jan 9, 2005 (gmt 0)

10+ Year Member



I've never seen a case of a browser getting redirects wrong... that's one's pretty easy to get right.

I have seen some redirect loops before where server configurations caused problems. For example, redirecting from page A to page B, then redirecting back to page A because cookies are blocked or the server or script had a problem with something else about the request.

Could there be anything special about your Firebird configuration? Have you searched previously resolved bugs at bugzilla.mozilla.org to see if FB did have a bug triggering redirect loops? Is index.htm a script that might generate a redirect?