how to make single project root location, but still enable /trac for all projects?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I am trying to configure my trac environment and apache server such that a single trac project is my root location, but a user can still access location /trac for a list of projects or /trac/PROJECT to reach PROJECT.

What I am trying is:
<Location "/trac">
  SetHandler mod_python
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnvParentDir /home/trac/
  PythonOption TracUriRoot /trac
</Location>


<Location />
  SetHandler mod_python
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnv /home/trac/cgran
  PythonOption TracUriRoot /
</Location>

However, when I try to access http://my.server.com/trac it tries to handle it as /home/trac/cgran/trac which doesn't exist, it should be /home/trac. Additionally, trying to access a single project such as http://my.server.com/trac/PROJECT tries to be served as /home/trac/cgran/trac/PROJECT which should be /home/trac/PROJECT

I'd greatly appreciate any help.

Thanks!
George

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux