Re: Change Content-Disposition from inline to attachment using mod_headers in a reverse proxy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux