Last change
on this file since 394 was 391, checked in by dmik, 11 years ago |
python: Merge vendor 2.7.6 to trunk.
|
-
Property svn:eol-style
set to
native
|
File size:
400 bytes
|
Line | |
---|
1 | #!/usr/bin/env python
|
---|
2 |
|
---|
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 |
|
---|
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.
|
---|
10 |
|
---|
11 | print "Content-type: text/html"
|
---|
12 | print
|
---|
13 | print "<h1>Hello world</h1>"
|
---|
14 | print "<p>This is cgi1.py"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.