Re: [users@httpd] output csv mime headers for downloading

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

 



On 8/16/05, theshz <theshz@xxxxxxxxx> 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/vnd.ms-excel 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.

Joshua.

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