[mod_python] Install issues: Server Internal Error 500

Brian Ray bray at sent.com
Thu Sep 16 23:46:42 EDT 2004


Hello, I am having a hard time with mod_python 3.1.3 on Apache 2 Python 
2.3 on Mac OSX 10.3.5.  I am new to mod_python but not to Apache.

When following the instruction in the manual from modpython.org I get 
an Internal Sever Error 500 with no helpful error logs. All complies 
without warning or error. Here is my error log:

	[Thu Sep 16 22:34:59 2004] [notice] Graceful restart requested, doing 
restart
	[Thu Sep 16 22:34:59 2004] [notice] mod_python: Creating 32 session 
mutexes based on 150 max processes and 0 max threads.
	[Thu Sep 16 22:34:59 2004] [notice] Digest: generating secret for 
digest authentication ...
	[Thu Sep 16 22:34:59 2004] [notice] Digest: done
	[Thu Sep 16 22:35:00 2004] [notice] Apache/2.0.50 (Unix) DAV/2 
mod_python/3.1.3 	Python/2.3b2 configured -- resuming normal operations

My http.conf.

	LoadModule python_module modules/mod_python.so

	<Directory /opt/local/apache2/htdocs>
		AddHandler mod_python .py
		PythonHandler mptest
		PythonDebug On
  	</Directory>

I am able to import mod_python without error from the command line. I 
have checked the permissions in the site-packages as well as the so 
module.  I wish I could provide some more helpful info, but I am at a 
loss. Any Ideas?



More information about the Mod_python mailing list