Python 2.4
Apache 2.0
mod_py 3.1
Trac   0.94

-

Following the instructions, I've created the following entry within the vhost.conf:

<Location />
  SetHandler mod_python
  PythonHandler trac.web.modpython_frontend
  PythonOption TracUriRoot /
  PythonOption TracEnvParentDir /path/to/project/root
</Location>

<LocationMatch "/[^/]+/login">
  AuthType Basic
  AuthName "TracRealm"
  AuthUserFile /path/to/htpasswd
  Require valid-user
</LocationMatch>

Within project "host", when clicking "login", instead of getting the password box, I get the project list.

http://case.lazaridis.com/host

-

It seems that this has nothing to do with the "LocationMatch" directive, because the behaviour is the same when using this specific login location:

<Location "/host/login">
  AuthType Basic
  AuthName "TracRealm"
  AuthUserFile /path/to/htpasswd
  Require valid-user
</Location>

-

I've read within several archives, but cannot find a solution or what I am doing wrong.

Any suggestions welcome.

.

--
http://lazaridis.com

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to