i had to took of the leading ^ to make it works
127.0.0.1/cefinban/admin would not match any url if ^admin.

<VirtualHost *>
        <Location "/cefinban">
            SetHandler python-program
            PythonHandler django.core.handlers.modpython
            PythonPath sys.path+['/home/greg/Projects']
            SetEnv DJANGO_SETTINGS_MODULE cefinban.settings
            PythonDebug On
        </Location>
        Alias /media "/var/www/cefinban/media"
        <Location "/media/">
                SetHandler None
        </Location>

</VirtualHost>

Reply via email to