httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] output csv mime headers for downloading
Date Tue, 16 Aug 2005 17:54:00 GMT
On 8/16/05, theshz <> wrote:
> Hi, I'm trying to allow my users to download a csv file, and am hoping with
> the correct header, the
> browser will offer to download rather than display the content. I added the
> ".csv" extension to mime.types
> next to ".xls" as "application/ xls csv", but the browser
> (firefox) still displays the content
> rather than offering for download. If I use ".xls", all works fine. What am
> I doing wrong?

Have you inspected the actual Content-Type header being returned by
the server?  It probably hasn't changed, which probably means that you
aren't editting the right config file or you aren't restarting httpd
after making the changes.


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