环境
Apache 2.2.4
Mod_python 3.3.1
Allow from all
# 设定.prog扩展名的文件时使用mod_python处理PythonHandler test
AddHandler mod_python .py
# 设定使用任意文件名时使用mod_python处理PythonHandler test
# SetHandler mod_python
# 可随意执行任意的.py文件
PythonHandler mod_python.publisher
# 开启mod_python的Debug模式
PythonDebug On
#禁止浏览器从映射的目录/py/中下载py和pyc为扩展名的文件
#
#Order allow,deny
#Deny from all
#
Apache 2.2.4
Mod_python 3.3.1
Allow from all
# 设定.prog扩展名的文件时使用mod_python处理PythonHandler test
AddHandler mod_python .py
# 设定使用任意文件名时使用mod_python处理PythonHandler test
# SetHandler mod_python
# 可随意执行任意的.py文件
PythonHandler mod_python.publisher
# 开启mod_python的Debug模式
PythonDebug On
#禁止浏览器从映射的目录/py/中下载py和pyc为扩展名的文件
#
#Order allow,deny
#Deny from all
#