Sells, Fred
fred at adventistcare.org
Wed Nov 8 08:54:45 EST 2006
Since you're using XP. I suggest you use the .msi installers for python, apache and mod_python. All installation problems that I have had have been of my own making, these installers do a pretty good job. Also I just found out Apache 2.2 needs mod_python 3.2.10. -----Original Message----- From: mod_python-bounces at modpython.org [mailto:mod_python-bounces at modpython.org]On Behalf Of Gutfreund, Yechezkal Sent: Monday, November 06, 2006 11:22 AM To: mod_python at modpython.org Subject: [Retrieved][mod_python] Error: Cannot load mod_python module I am a long-time (25+ years) distributed system (and OS) programmer, but a newbie at mod_python and apache. I believed I followed the install procedures. I added: 1. put the following line in httpd.conf LoadModule python_module modules/mod_python.so 2. created the /tmp director for the mutex's 3. added the <directory> section and put the mptest.py file in the test directory <Directory /some/directory/htdocs/test> AddHandler mod_python .py PythonHandler mptest PythonDebug On </Directory> 4. Installed ActiveState Python Version 2.4 python24.dll and mod_python 3.2.8 (and told it where Apache 2.2.3 (win) is located 5. All of this is on an XP Pro SP 2 machine 6. I still get the following ERROR: The Apache service named reported the following error: >>> httpd.exe: Syntax error on line 98 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_python.so into server: The specified procedure could not be found. . I verified that the mod_python.so is indeed in this directory, and I also tried moving python24.dll to the /bin directory of apache. But that was the only relevant fixes I could see in the blogs, newsgroups, etc. So I am posting here, to see if anyone has had similar problems. Dr. Yechezkal Gutfreund Draper Laboratory 555 Technology Square Cambridge, MA 02139 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20061108/a525fb0e/attachment.html
|