HTML Error from Python CGI Script
richie at entrian.com
richie at entrian.com
Thu Jun 27 08:59:56 EDT 2002
Chris,
> syntax error at line 2: `newline or ;' unexpected
Are you writing your temporary HTML file into your cgi-bin directory? Is
the server configured to run files in that area as scripts rather than to
serve them as documents? If so, you should either write the file into the
'pages' area of your web server (or whatever it's called on your system)
rather than cgi-bin, or reconfigure your web server to only run certain
extensions as CGI scripts.
--
Richie Hindle
richie at entrian.com
More information about the Python-list
mailing list