httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Porter, Mark" <>
Subject [users@httpd] mime.types in a reverse proxy
Date Thu, 25 Oct 2007 18:42:52 GMT
I'm using 2.0.59 on Linux as a reverse-proxy to an IIS device.

        ProxyPreserveHost On
        RewriteEngine On
        RemoveType dll

        RewriteRule ^/(.*) http://yyy.yyy.yyy.yyy:80/$1 [P]

The back-end device is sending responses with no Content-Type header.
The problem is that when a user retrieves a .dll file, Apache attaches a
Content-Type header based on mime.types:

Content-Type: application/octet-stream

Is there a way to have Apache not set that header just for this vhost,
or to make it use the default mime.type? Removing the .dll extension
from mime.types works, but would affect the entire server. RemoveType
dll didn't help - maybe because I'm proxying inside mod_rewrite? 

Any ideas?


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