On Mon, 20 Aug 2012 16:56:14 +0200, Hans Mulder
wrote:
>Most such panels have a button to show the error log for your own site.
>
>If you can't find it, ask the help desk of the web hosting company.
>
>If there really is no way for you to see the error log, ask the help
>desk to mail you the error
On 20/08/12 15:50:43, Gilles wrote:
> On Mon, 20 Aug 2012 07:59:39 -0400, Rod Person
> wrote:
>> Check the Apache error log, there should be more information there.
>
> It's a shared account, so I only have access to what's in cPanel,
> which didn't display anything.
Most such panels have a butt
On Mon, 20 Aug 2012 07:59:39 -0400, Rod Person
wrote:
>Check the Apache error log, there should be more information there.
It's a shared account, so I only have access to what's in cPanel,
which didn't display anything. Problem solved.
Thank you.
--
http://mail.python.org/mailman/listinfo/pytho
On Mon, 20 Aug 2012 13:41:20 +0200
Gilles wrote:
> Hello
>
> Apache fails running this basic CGI script that I found on the Net:
>
> www.acme.com/cgi-bin/test.py?name=myname
> ===
> #!/usr/bin/env python
>
> # Import modules for CGI handling
> import cgi, cgitb
>
> cgitb.enable()
>
>
Found it: The script MUST return something to the browser. I was
missing this:
print "Content-Type: text/html;charset=utf-8"
print
# print a document
print "Name is %s" % ( cgi.escape(name), )
Sorry about that.
--
http://mail.python.org/mailman/listinfo/python-list
Hello
Apache fails running this basic CGI script that I found on the Net:
www.acme.com/cgi-bin/test.py?name=myname
===
#!/usr/bin/env python
# Import modules for CGI handling
import cgi, cgitb
cgitb.enable()
# Create instance of FieldStorage
form = cgi.FieldStorage()
# Get data from f