[mod_python] publisher handler not working on FreeBSD, Apache 1.3 and modpython 2.7

Jorey Bump list at joreybump.com
Sat Mar 25 17:10:47 EST 2006


Alberto Ruiz wrote:
> I've looked at the documentation and the faq section but I can't figure
> out what I'm doing wrong.   The test script works fine as seen below in
> the first <Directory> directive.  But when I try to use the publisher
> handler, I get error not found (404).  If I add 'SetHandler', it dumps
> the script code.   What am I missing? Or what else can I do to
> troubleshoot the issue.  Let me know if I need to post more of the
> httpd.conf.  
> 
> URLS tried:
> http://www.brianheadrentals.com/cgi-bin/test.py
> http://www.brianheadrentals.com/propman.py

Go back and read the documentation on Publisher (for your version of 
mod_python). Create a function within the module to use as your target:

  http://www.brianheadrentals.com/propman.py/somefunction



More information about the Mod_python mailing list