Noah Kantrowitz wrote:
This does indeed work, I have a similar setup on several servers.
can you please point me to a location?
A
possible problem with the /svn path is that if that location block is
defined outside a vhost,
It's not defined outside
it will be silently ignored by Apache. Make
sure you have the needed directives to activate VHosting too.
Everything runs fine, e.g. if place a <Location /trac> and <Location
/trac/login>.
--Noah
Ilias Lazaridis wrote:
The documentaion mentions this:
http://projects.edgewall.com/trac/wiki/TracModPython#VirtualHostConfiguration
<VirtualHost * >
DocumentRoot /var/trac/myproject
ServerName trac.mycompany.com
<Location />
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /var/trac/myproject
PythonOption TracUriRoot /
</Location>
<Location /login>
AuthType Basic
AuthName "MyCompany Trac Server"
AuthUserFile /var/trac/myproject/.htusers
Require valid-user
</Location>
</VirtualHost>
-
Does this actually work somewhere?
I've tried it, but the /login location does not work.
Additionally, i've the location /svn, which does not work, too.
This is due to the fact that "<Location />" directs all URL's to
mod_python.
Is there any way to deal with this?
.
--
http://lazaridis.com
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac