Irwan
This is a CGI config problem, not a perl config problem. That test cgi
could be written in any language.
On Fri, 22 Dec 2000, Irwan Hadi wrote:
> I'm configuring Apache 1.3.14 with Mod Perl 1.24_01 and PHP 4.0.3pl1, on
> Redhat 6.2. I got a problem in which when Apache wants to run a perl script
> (for PHP script there is no problem), for example for this script
<snip>
> Then, when I accessed the script, Apache would give output
>
> 500 Internal Server Error
<snip>
> And in the error log it says :
> [Fri Dec 22 03:48:35 2000] [error] [client 127.0.0.1] Premature end of
> script headers: /home/me/public_html/cgi-bin/hello.cgi
<snip>
> Is there any clue to fix this problem ?
let's see
> Compiled-in modules:
> mod_cgi.c
you are good here
Ok, try something like
<Directory "/home/me/public_html/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
to tell apache to execute the script.
hth
charles
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list