golden hour
/usr/lib64/python2.7/Demo/cgi
⬆️ Go Up
Upload
File/Folder
Size
Actions
README
437 B
Del
OK
cgi0.sh
154 B
Del
OK
cgi1.py
401 B
Del
OK
cgi1.pyc
279 B
Del
OK
cgi1.pyo
279 B
Del
OK
cgi2.py
471 B
Del
OK
cgi2.pyc
729 B
Del
OK
cgi2.pyo
729 B
Del
OK
cgi3.py
152 B
Del
OK
cgi3.pyc
326 B
Del
OK
cgi3.pyo
326 B
Del
OK
wiki.py
3.94 KB
Del
OK
wiki.pyc
5.25 KB
Del
OK
wiki.pyo
5.25 KB
Del
OK
Edit: cgi1.py
#! /usr/bin/env python """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"
Save