- 论坛徽章:
- 0
|
访问:http://test.com/index.py出现如下错误信息
MOD_PYTHON ERROR
ProcessId: 1033
Interpreter: 'www.www.hk'
ServerName: 'www.www.hk'
DocumentRoot: '/usr/local/www/apache22/data'
URI: '/index.py'
Location: None
Directory: '/usr/local/www/apache22/data/'
Filename: '/usr/local/www/apache22/data/index.py'
PathInfo: ''
Phase: 'PythonHandler'
Handler: 'test'
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/local/lib/python2.5/site-packages/mod_python/importer.py", line 1206, in _process_target
object = apache.resolve_object(module, object_str, arg, silent=silent)
File "/usr/local/lib/python2.5/site-packages/mod_python/apache.py", line 696, in resolve_object
raise AttributeError, s
AttributeError: module '/usr/local/lib/python2.5/test/__init__.pyc' contains no 'handler' |
|