Re: [users@httpd] problem with perl
script and Apache
"Krist van Besien"
Please respond to : firstname.lastname@example.org
On Mon, Jun 2, 2008 at 2:44 PM, Octavian Rasnita <email@example.com>
> At the beginning of the output generated by your script, you should
> print "Content-Type: text/html\n\n";
>A minimal script would be:
> >print "Content-type: text/html\n\n";
>And this would, when executed on the command line, output:
>The Content-Type is importan, because it allows your apache server
>know what the script will output. (CGI scripts can produce whatever
>you fancy. I have scripts that produce PNGs and SVGs for example...)
I solved the issue :o). I was really puzzled that the script would execute
properly locally... and you put me on the right track with your last reply!
I executed it again and found out that there was a flaw within the script
that produced an output before the "Content-type..." line I modified it and everything now works properly!