[Tutor] Apache, CGI configuration

Michael Ang michael@mediamanager.com.sg
Wed, 07 Jul 1999 15:35:19 +0800


Hi,
	I'm having problem running cgi in one of my Linux-Apache server, I follow
exactly what needed to be done given in this site
(http://starship.skyport.net/crew/davem/cgifaq/faqw.cgi?req=index). The web
server always respond as
<<<<
The server encountered an internal error or misconfiguration and was unable
to complete your request.

Please contact the server administrator, michael@kids.monja.com.sg and
inform them of the time the error occurred, and anything you might have
done that may have caused the error.

Premature end of script headers: /usr/local/apache/share/cgi-bin/Hello.py
>>>
(Hello.py is also taken from the help site)

Is it neccessary to set PYTHONPATH in Linux and how and where should I set it.
Anything that I've missed out?

Thanks in advance

Michael