httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devraj Mukherjee <dev...@gmail.com>
Subject Re: [users@httpd] Change Content-Disposition from inline to attachment using mod_headers in a reverse proxy?
Date Fri, 20 Nov 2009 23:21:04 GMT
Hi Nick,

>>
>> 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!
>

Appreciate the feedback. Will take it up with him.

>> 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).
>

Ah great. Will try that.

Thanks for your time.

-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message