httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: [users@httpd] Change Content-Disposition from inline to attachment using mod_headers in a reverse proxy?
Date Fri, 20 Nov 2009 23:19:04 GMT
Devraj Mukherjee wrote:
> Hi all,
> We are setting up a reverse proxy to proxy contents from an external
> web site, because we need to change parts of the content before we
> serve it to our users (primarily to make the site Firefox friendly).
> mod_substitute does most of what we want, apart from file downloads.
> Firefox on Linux (which is most of our users) doesn't seem to handle
> PDF files delivered inline that well.

Sounds like firefox on linux is badly misconfigured.  LART your sysop!

> The web site sends down the PDF files with the following header
> Content-Disposition: inline;filename=Report.pdf
> I would like the Content-Disposition to be changed to attachment. I
> believe mod_headers is the module for the job.

Yep.  What's the problem?
(just dropping the Content-Disposition wouldn't hurt).

Nick Kew

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