#! /usr/bin/python2.7 """CGI test 1 - check server setup.""" # Until you get this to work, your web server isn't set up right or # your Python isn't set up right. # If cgi0.sh works but cgi1.py doesn't, check the #! line and the file # permissions. The docs for the cgi.py module have debugging tips. print "Content-type: text/html" print print "<h1>Hello world</h1>" print "<p>This is cgi1.py"
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
README | File | 437 B | 0644 |
|
cgi0.sh | File | 154 B | 0755 |
|
cgi1.py | File | 400 B | 0755 |
|
cgi1.pyc | File | 279 B | 0644 |
|
cgi1.pyo | File | 279 B | 0644 |
|
cgi2.py | File | 470 B | 0755 |
|
cgi2.pyc | File | 729 B | 0644 |
|
cgi2.pyo | File | 729 B | 0644 |
|
cgi3.py | File | 151 B | 0755 |
|
cgi3.pyc | File | 326 B | 0644 |
|
cgi3.pyo | File | 326 B | 0644 |
|
wiki.py | File | 3.94 KB | 0644 |
|
wiki.pyc | File | 5.25 KB | 0644 |
|
wiki.pyo | File | 5.25 KB | 0644 |
|