Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- What you don't know you need to know...


jdMorgan - 3:43 pm on May 8, 2005 (gmt 0)


Firefox versus IE has nothing to do with this. The definition of a redirect is that the address bar will change; You are using a server response -- a message sent by the server to the browser -- that redirects the browser. In order to avoid this, you simply use an internal rewrite -- as opposed to a redirect. An internal rewrite only changes the server file-path associated with a requested URL, and is never seen by the browser.

The reason you see IE keeping the original URL is probably that you did not flush your temporary internet files after changing your server-side code. If you do not flush your cache prior to testing, then the request will be served from the browser's local cache, and no request will be sent to the server. If a request is not sent to the server, then server-side code such as mod_rewrite can have no effect on the browser; it just displays its old copy of the page.

If you follow the best-practice of flushing your browser cache(s) before testing any change to server-side code, you will see all browsers behaving identically for a redirect.

Jim


Thread source:: http://www.webmasterworld.com/apache/3465.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com