move sections
[python/dscho.git] / Demo / cgi / cgi1.py
blobc6f3efab3e442c9fb945f8bd600cdef22a79f062
1 #!/usr/bin/env python
3 """CGI test 1 - check server setup."""
5 # Until you get this to work, your web server isn't set up right or
6 # your Python isn't set up right.
8 # If cgi0.sh works but cgi1.py doesn't, check the #! line and the file
9 # permissions. The docs for the cgi.py module have debugging tips.
11 print "Content-type: text/html"
12 print
13 print "<h1>Hello world</h1>"
14 print "<p>This is cgi1.py"