Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Denis Peuziat
"Krist van Besien" <[EMAIL PROTECTED]> To users@httpd.apache.org cc Subject Re: [EMAIL PROTECTED] problem with perl script and Apache "Krist van Besien" <[EMAIL PROTECTED]> Please respond to : users@httpd.apache.org 02/06/2008 16:31 On Mon, Jun 2, 2

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Krist van Besien
On Mon, Jun 2, 2008 at 2:44 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > At the beginning of the output generated by your script, you should do: > > print "Content-Type: text/html\n\n"; Exactly. A minimal script would be: #!/usr/bin/perl print "Content-type: text/html\n\n"; print < Hello

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Octavian Rasnita
From: "Denis Peuziat" <[EMAIL PROTECTED]> >>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 st

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Denis Peuziat
"Krist van Besien" <[EMAIL PROTECTED]> To users@httpd.apache.org cc Subject Re: [EMAIL PROTECTED] problem with perl script and Apache "Krist van Besien" <[EMAIL PROTECTED]> Please respond to : users@httpd.apache.org 02/06/2008 13:42 On Mon, Jun 2, 2008 at

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Krist van Besien
On Mon, Jun 2, 2008 at 12:23 PM, Denis Peuziat <[EMAIL PROTECTED]> 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 po

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Denis Peuziat
I can't see any Denis "Krist van Besien" <[EMAIL PROTECTED]> To users@httpd.apache.org cc Subject Re: [EMAIL PROTECTED] problem with perl script and Apache "Krist van Besien" <[EMAIL PROTECTED]> Please respond to : users@httpd.apache.org 02/06/2

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Krist van Besien
On Mon, Jun 2, 2008 at 11:46 AM, Denis Peuziat <[EMAIL PROTECTED]> wrote: > Thanks a lot for your advice. The file shows the html result so I guess > there has been some changes between Apache 2.0.46 and 2.2.3 that prevents > the 2.2.3 to understand the html headers on the page... So the scripts a

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Denis Peuziat
OTECTED]> To cc Subject Re: [EMAIL PROTECTED] problem with perl script and Apache "Octavian Rasnita" <[EMAIL PROTECTED]> Please respond to : users@httpd.apache.org 30/05/2008 15:49 How does it look the content of the downloaded perl file? It shows the perl source cod

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-05-30 Thread Dragon
Denis Peuziat wrote: Apache 2.2.3 + Perl 5.8.8 on SUSE SLES10 I have just migrated a site from a linux RH server with Apache 2.0.46 and perl 5.8.0 to a server with the config above. Some perls scripts that are still executing correctly on the old server, are now identified as Unknown files

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-05-30 Thread Octavian Rasnita
, it means that the script doesn't send the correct HTTP headers, so you should fix the script. Octavian - Original Message - From: "Denis Peuziat" <[EMAIL PROTECTED]> To: Sent: Friday, May 30, 2008 3:18 PM Subject: [EMAIL PROTECTED] problem with perl script and A

[EMAIL PROTECTED] problem with perl script and Apache

2008-05-30 Thread Denis Peuziat
Apache 2.2.3 + Perl 5.8.8 on SUSE SLES10 I have just migrated a site from a linux RH server with Apache 2.0.46 and perl 5.8.0 to a server with the config above. Some perls scripts that are still executing correctly on the old server, are now identified as Unknown files when page is launched in