[mod_python] Windows mod_python installation verification problem

Karl Kobata karl.kobata at syncira.com
Fri Jun 16 17:13:15 EDT 2006


 

 

  _____  

From: Karl Kobata [mailto:karl.kobata at syncira.com] 
Sent: Monday, June 12, 2006 10:31 AM
To: 'mod_python at modpython.org'
Subject: Windows mod_python installation verification problem

 

I have used the windows installer to install mod_python 3.2.8 to Apache
2.0.55.  The installer log file shows it storing files into python 2.4
library(lib) directory.  It also found the module directory of the web
server and stored mod_python.so file.  The installer completed without
giving me any error/warning messages.  It gave me a final pop-up to add the
directory directives, and reference to testing.  I have added the directory
information

 

1)       confusion on "AddHandler" directive for mod_python 3.2.8 - should
it be python-program or mod_python?

2)       in my httpd.conf I have added the following directive, then
restarted the web server.  Is the syntax for path directory correct for
windows?

 <Directory "E:\LINUX\Develop\web\ModPython">

      AddHandler python-program .py

      PythonHandler mptest

      PythonDebug On 

 </Directory>

3)       in windows the .htaccess is not accepted, so added ht.acl file to
list under "AccessFileName" directive in the httpd.conf file.  In this file
I have added the following.  Is this all I need in the "AccessFile" found in
the same directory as the mptest.py program?

AddHandler mod_python .py

PythonHandler mptest

PythonDebug On 

AllowOverride FileInfo

4)       will there be a confusion on having both directives at the same
time?  the "Directory" directive in the httpd.conf file vs the ht.acl
directives?

5)       Does mod_python require any other files, installation, or
resources?

 

Note: error logs have no error information.

 

Please help.  I have struggled with this for several days.

 

karl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20060616/f9961c0d/attachment.html


More information about the Mod_python mailing list