CGI script is in plain text
trevor at hotmail.com
Sat Jul 5 18:27:29 CEST 2003
On Thu, 03 Jul 2003 19:56:32 -0500, Ian Bicking wrote:
> On Thu, 2003-07-03 at 15:39, A wrote:
>> I have a webhosting account with one company.
>> They have Apache running.
>> When I start CGI script from a web browser, the result is plain text( the copy of that script)
>> I can not access
>> file so I changed
>> file. I put into it
>> Options +ExecCGI
>> Sethandler /usr/bin/python.exe .py
> Try renaming the file to .cgi -- as long as the #! line is right, it
> doesn't matter the extension. Also, you may have to put the script in
> the cgi-bin directory.
The line Sethandler /usr/bin/python.exe .py
This is a Unix/Linux host so it ain't python.exe is it?
More information about the Python-list