- 论坛徽章:
- 0
|
出错信息如下:
[Fri Mar 03 17:49:35 2006] [notice] Apache/2.0.55 (Win32) mod_python/3.2.5b Python/2.4.2 configured -- resuming normal operations
[Fri Mar 03 17:49:35 2006] [notice] Server built: Oct 9 2005 19:16:56
[Fri Mar 03 17:49:35 2006] [notice] Parent: Created child process 2580
[Fri Mar 03 17:49:35 2006] [notice] mod_python: Creating 8 session mutexes based on 0 max processes and 250 max threads.
[Fri Mar 03 17:49:35 2006] [notice] Child 2580: Child process is running
[Fri Mar 03 17:49:36 2006] [notice] Child 2580: Acquired the start mutex.
[Fri Mar 03 17:49:36 2006] [notice] Child 2580: Starting 250 worker threads.
[Fri Mar 03 17:50:15 2006] [error] make_obcallback: could not import mod_python.apache.\n
[Fri Mar 03 17:50:15 2006] [error] python_handler: no interpreter callback found.
[Fri Mar 03 17:50:15 2006] [error] [client 127.0.0.1] python_handler: Can't get/create interpreter.
我的httpd.conf配置如下:
...
<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 100
</IfModule>
.....
Listen 8080
...
LoadModule python_module modules/mod_python.so
......
ServerName *:8080
.......
DocumentRoot "F:/python/pythonSrc/test"
.......
<Directory "F:/python/pythonSrc/test">
Options FollowSymLinks
Order allow,deny
Allow from all
AddHandler mod_python .py
PythonHandler mptest
PythonDebug On
</Directory>
Location我就没配了. 我不知道有没有少配什么,http://www.modpython.org上的网站没有win32平台的安装文档.
是不是mod_python.so这个module有问题啊?网上google了一下,
答案都是在linux平台下的,让重新编译mode_python.so。那win32平台怎么解决?
版本是: Apache/2.0.55 (Win32) mod_python/3.2.5b Python/2.4.2 |
|