[Tutor] CGI fails
Denis
spirou@aragne.com
Wed, 20 Sep 2000 18:13:35 +0200
Le Wed, Sep 20, 2000 at 11:25:08AM -0400, D-Man pianota:
>
> I was trying the "Hello World" example (attached), but I get an
>"Internal Server Error". The error log file says:
>
> [Wed Sep 20 11:19:16 2000] [error] [client 129.21.137.39]
> Premature end of script headers: /home/dman/public_html/script.py.cgi
> [Wed Sep 20 11:19:16 2000] [error] [client 129.21.137.39]
> Premature end of script headers: /home/dman/public_html/script.py.cgi
>
> What does this mean and how do I fix it?
Your script.py is just fine.
If your WebServer is correctly configured, you should
verify if your script is executable.
You are very near. :-)
--
Denis FRERE
P3B : Club Free-Pytho-Linuxien Caroloregien http://www.p3b.org
Aragne : Internet - Reseaux - Formations http://www.aragne.com