D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
lib64
/
python2.7
/
Demo
/
cgi
/
Filename :
cgi1.py
back
Copy
#! /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
Size
Last Modified
Owner
Permissions
Actions
README
0.427
KB
April 19 2020 9:13:39
root
0644
cgi0.sh
0.15
KB
April 19 2020 9:13:39
root
0755
cgi1.py
0.391
KB
April 10 2024 4:57:37
root
0755
cgi1.pyc
0.272
KB
April 10 2024 4:58:46
root
0644
cgi1.pyo
0.272
KB
April 10 2024 4:58:46
root
0644
cgi2.py
0.459
KB
April 10 2024 4:57:37
root
0755
cgi2.pyc
0.712
KB
April 10 2024 4:58:46
root
0644
cgi2.pyo
0.712
KB
April 10 2024 4:58:46
root
0644
cgi3.py
0.147
KB
April 10 2024 4:57:37
root
0755
cgi3.pyc
0.318
KB
April 10 2024 4:58:46
root
0644
cgi3.pyo
0.318
KB
April 10 2024 4:58:46
root
0644
wiki.py
3.942
KB
April 19 2020 9:13:39
root
0644
wiki.pyc
5.251
KB
April 10 2024 4:58:46
root
0644
wiki.pyo
5.251
KB
April 10 2024 4:58:46
root
0644
2017 © D7net | D704T team