blob: b4154dfc67cc8903f5b8b06b46a9658542f7cb89 [file] [log] [blame]
Benjamin Peterson90f5ba52010-03-11 22:53:45 +00001#!/usr/bin/env python3
Guido van Rossum68077212002-10-16 21:01:27 +00002
3"""CGI test 1 - check server setup."""
4
5# Until you get this to work, your web server isn't set up right or
6# your Python isn't set up right.
7
Guido van Rossuma55dda62002-10-17 16:33:40 +00008# If cgi0.sh works but cgi1.py doesn't, check the #! line and the file
Guido van Rossum68077212002-10-16 21:01:27 +00009# permissions. The docs for the cgi.py module have debugging tips.
10
Collin Winter6f2df4d2007-07-17 20:59:35 +000011print("Content-type: text/html")
12print()
13print("<h1>Hello world</h1>")
14print("<p>This is cgi1.py")