- 论坛徽章:
- 0
|
我用的时Apache +mod_python,但是现在可以解析*.psp,但是解析*.py就是不成功,请大家帮助。
我的配置文件:
<Directory "/usr/local/apache2/htdocs/modpython">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
AddHandler mod_python .py
# PythonHandler session
PythonHandler mod_python.publisher
PythonDebug On
</Directory>
如果把#去掉,注释掉下面的一行就可以。
<Directory "/usr/local/apache2/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
AddHandler mod_python .psp
PythonHandler mod_python.psp
PythonDebug On
</Directory>
这个是解析*.psp的配置。 |
|