Bit of an annoying problem with apache2 + mod_python configuration.

I've got my django site setup and working. When adding a <Location>
directive in the apache config which then includes authentication,
the SetHandler None directive doesn't seem to work, i.e. I get a
"Page not found" error in my django site, rather than the broswer
login popup that I was expecting.

The django site is running (fine) as a virtual host, and within the
virtual host I've defined...

<Location "/trac">
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnv /var/trac/bfact
  PythonOption TracParentEnv /var/trac
  PythonOption TracUriRoot /trac
  PythonOption PYTHON_EGG_CACHE /var/tmp
</Location>

...which works fine, whereas...

<Location "/trac/login">
  SetHandler None
  AuthType Digest
  AuthName "MBF Trac"
  AuthDigestProvider file
  AuthUserFile /var/trac/.users
  Require valid-user
</Location>

...send me back to the django application with a "Page not found" error.

Any ideas?



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to