[mod_python] Traversal Not Working

William Witteman yam at nerd.cx
Wed Jan 23 09:36:57 EST 2008


Hello,

I developed a site using the publisher handler on Debian stable, which
is a bit behind, but which works well.  Here are the versions:

libapache2-mod-python/etch uptodate 3.2.10-4
apache2/etch uptodate 2.2.3-4+etch3
python/etch uptodate 2.4.4-2

The site works great with this httpd.conf:

  <Directory /www/sitedir>
    Options +Includes Indexes FollowSymLinks MultiViews
    AddHandler mod_python .py
    PythonHandler mod_python.publisher
    PythonDebug On
    AllowOverride Options
    Order allow,deny
    allow from all
  </Directory>

I am trying to get this to work on a production server which is more modern, it's versions are as follows:

mod_python-3.3.1
python-2.5
apache2

What is happening is that the first page of the site comes up fine
(index.py in the web root, with an index() function).  However, all
other pages throw 404s.  This seems to be because the directory
traversal is not working, but I am at a loss.  Any suggestions?  Thanks.
-- 

yours,

William


More information about the Mod_python mailing list