Ben Kim wrote:
> I had a few pages outputting csv files which used to work. (caused the
> browsers to ask if to open or save) I had this header.
>   $http_headers_out{"Content-type"} = "application/vnd.ms-excel";
>
> But from some time ago, they just began to show on the browser like a
> plain text file would.
>
> Then we found that replacing the above with this line made them work
> again.
>   $req_rec -> content_type ('application/vnd.ms-excel');
>
> We would have made some changes in configuration but couldn't track
> the cause down. Just an observation, in case anyone has a ready
> comments.
>

Which version of Embperl, mod_perl and Apache you are using?

Gerald


---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der KOMCOM 2004 in Mannheim
25. bis 27. Mai 2004  Stand K11a   www.komcom.de

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to