Hi there,

is it possible to create a rewrite rule to send every server-request
to the directory /py? But only if the file does not exists on the
server.

This is my mod_python section of the apache config-file.

<Location "/py">
        SetHandler python-program
        PythonHandler django.core.handlers.modpython
        PythonPath "['/var/www/mydomain.com/htdocs/py'] + sys.path"
        SetEnv DJANGO_SETTINGS_MODULE myapp.settings
        PythonDebug Off
</Location>

Thanks.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to