Forum Moderators: open

Message Too Old, No Replies

Quick ISAPI rewrite question

         

oddsod

4:22 pm on Dec 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've done a lot of redirection, rewriting etc., on Apache servers (via .htaccess) with great success, but ISAPI is leaving me very frustrated.

All I want to do is 301 redirect one single file to a different location!

The ISAPI site [isapirewrite.com] wants to teach me character classes, word operators and all kinds of other things that I'd need if I want to get a degree in ISAPI. I don't.

I've spent ages trying to find examples of a httpd.ini file that don't deal in the non-www to www issue but in 301 redirecting a single file. No luck till I found this thread here at WebmasterWorld [webmasterworld.com] by P1R. Great!

It suggests:
rewriteRule /old-page.asp http://www.example.com/new-page.asp [I,O,RP]

Which works fine except that the old URL remains in the browser address bar as http://www.example.com/old-page.asp (though it's the content of the new page that shows up). Strangely, the problem is restricted to IE6. Firefox shows the new URL in the window properly.

How do I get the new URL to show in IE6?

(server header check does show a sucessful 301)

pageoneresults

4:33 pm on Dec 1, 2006 (gmt 0)

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



How do I get the new URL to show in IE6?

It should. I'm thinking a caching issue on your side?

Server header check does show a sucessful 301.

And does it show the correct destination URI for the 301?

oddsod

5:02 pm on Dec 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks P1R. It's resolved now. :)

Yes, it was a caching issue.

Also, at one point I was also playing around with Unmangle Log. That didn't help.