httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Persson <>
Subject Re: [users@httpd] Whats happening on rewrite
Date Tue, 01 Oct 2002 21:40:23 GMT
Boyle Owen wrote:
> I confirm that the scheme works with Netscape but fails with IE. 
Great to get confirmation of the problem, I started to think I'm stupid.

> So what seems to be happening is that Netscape works because it obeys 
 >the HTTP spec and treats the mime-type as authoritative. However, IE
 >violates this spec (this is well known) and tries to make its own
 >judgement about the file based on its name etc. I think your funny
 >redirect URL is screwing it up - possibly it thinks is
 >another site... Anyway, the fix is to remove the redirect flag from the
 >rewrite rule so that the PDF content is returned immediately from the
 >first URL. Then mime-type and file-type will match and even IE will be 
Yes, its common that IE/(other msproducts) ignore mimetype/contenttypes 
and uses the filenamesuffix to determine the type instead.
But since I dont use the [R] flag, apache should send any 302 headers or 
something like that, or should it?

My guess is as long as IE is held on a "need-to-know-basis" that actually is a "real" 
directory and filestructure, it should work.
As Boyle Owen  mentioned, "If you are not using the [R] flag, then all 
the rewriting is done on the server side", my conclusion is that apache 
shouldnt send any headers at all really to the browser. Or am I wrong on 

Thanks for your help,

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message