httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Peuziat <dpeuz...@amadeus.com>
Subject Re: [users@httpd] problem with perl script and Apache
Date Mon, 02 Jun 2008 12:11:38 GMT
"Krist van Besien" <krist.vanbesien@gmail.com> 
To
users@httpd.apache.org
cc

Subject
Re: [users@httpd] problem with perl script and Apache





"Krist van Besien" <krist.vanbesien@gmail.com> 
Please respond to : users@httpd.apache.org
02/06/2008 13:42


On Mon, Jun 2, 2008 at 12:23 PM, Denis Peuziat <dpeuziat@amadeus.com> 
wrote:
>
> I can't see any....

>Any what?
>Can I assume that you were responding to my question whether your
>scripts wrote a content-type header? (I can't be sure what it was
>exactly you were reacting to because you choose to "top post").

sorry about that...

>CGI scripts must output a "content-type" header. So when you execute
>them on the command line, the line "content-type: text/html" ought to
>be the first thing written out. If they don't do this they have been
>programmed with a disregard of the CGI standard....
>It is possible that your old webserver was configured to always add
>this content-type header itself, and that because of this the scripts
>worked.

so the only thing to do is to add a line like <meta 
http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
at the beginning of the script?

Denis


Mime
View raw message