[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with Apache running perl scripts



On Sun, 25 Apr 1999, Oded Arbel wrote:

>hello .
>I need some help with setting up SSI on apache to run perl scripts.
>I've tried to put a simple counter script in my cgi-bin directory, and tried
>to make it work from my index.shtml file.
>when I access it through a web browser, it doesn't seem to be executed, and
>i get this text in httpd's error.log :
>[Sun Apr 25 21:41:03 1999] access to /home/httpd/cgi-bin/ncounter.pl failed
>for
>my.ip.here, reason: Premature end of script headers
>
>I looked up the apache FAQ, but it was no help . i didn'tunderstand what
>the problem was or how to fix it ..
>can any one give me a hint ?

Does your script return a correct mime type and HTTP header ?

Peter