You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mark Constable <ma...@renta.net> on 2002/03/29 17:35:37 UTC

IE always loads graphics

This is more of a browser problem but seeing most
users banging on apache probably use IE then there
might be a server or paged based solution. I'm using
rewrite rules to manage vhost sub-domains where going
to www.some.com is managed in the some.com virtualhost
entry like this...

 RewriteEngine on
 RewriteCond   %{HTTP_HOST} ^[^.]+\.some\.com$
 RewriteRule   ^(.+) %{HTTP_HOST}$1          [C]
 RewriteRule   ^([^.]+)\.some\.com(.*) /var/www/some.com

which works beautifully in mozilla/netscape/konqueror
but <wink> with IE5+ each and every access to the rewrite
page cause all page parts (images mostly) to reload.. get
this, even when using the back button !

Is anyone aware of page or server headers that would make
IE use it's local cache of images under the above rewrite
rule in all cases ?

FWIW these extra server vars are created because of the
rules above (I presume). This is the only thing different
I can see that a normal non-rewritten page does not have.

    [REDIRECT_SCRIPT_URI] => http://some.com/
    [REDIRECT_SCRIPT_URL] => /
    [REDIRECT_STATUS] => 200
    [REDIRECT_UNIQUE_ID] => PKSWUsCoAQMAABHQAiM
    [REDIRECT_URL] => /

TIA

--markc

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org