[mod_python] mpservlets:No module named index

Daniel J. Popowich dpopowich at blue-fox.com
Fri Sep 17 18:27:35 EDT 2004


Brian Ray writes:
> So, now I am trying to install mpservlets-1.1.5. I do get a couple  
> compile warnings, 'package init file '__init__.py' not found (or not a  
> regular file)'. However, everything after install_lib compiles fine.
> 
> ...
>
> LoadModule python_module modules/mod_python.so
> 
> <Directory  /var/www/tutorial>
>     SetHandler python-program
>     PythonHandler mod_python.publisher
>     PythonDebug on
> </Directory>
> 
> ...

If you want to use the servlet handler, don't specify the publisher
handler.  :-)

Try:

    PythonHandler mod_python.servlet

Daniel Popowich
-----------------------------------------------
http://home.comcast.net/~d.popowich/mpservlets/
    



More information about the Mod_python mailing list