文件操作 - cgi1.py
返回文件管理
返回主菜单
删除本文件
文件: /lib64/python2.7/Demo/cgi/cgi1.py
编辑文件内容
#! /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"
修改文件时间
将文件时间修改为当前时间的前一年
删除文件