[mod_python] Traversal Not Working

Graham Dumpleton graham.dumpleton at gmail.com
Wed Jan 23 16:57:56 EST 2008


Provide a directory listing /www/sitedir showing ownership and
permissions, ie., 'ls -las'. Also provide clear examples of the URLs
that you are using and which work and which don't.

Graham

On 24/01/2008, William Witteman <yam at nerd.cx> wrote:
> 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
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list