Hi
I have a situation where I think I may benefit from running several trac instances from a single .wsgi script but am confused from reading the docs on what would happen if not all trac instances are accessed in the same way.
Right now, I'm in a situation where some trac instances are accessed through their own URL/subdomain (e.g. examples trac1 and trac2 below), where some others are accessed behind the same domain (examples trac3-trac5 below), using the TRAC_ENV_PARENT_DIR, as described in the docs.
However, notwithstanding these different access routes, they are all installed and deployed consistently to the same hierarchy of directories.
What confuses me is that from the point of view of trac-admin, they're all under the same TRAC_ENV_PARENT_DIR. However from the standpoint of the Apache web sever (the URL used to access the resource), they are not. Maybe there's no reason to be confused?
My setup:
trac1
/var/lib/trac/trac1 deployed to /var/www/trac1
trac2
/var/lib/trac/trac2 deployed to /var/www/trac2
trac3
/var/lib/trac/trac3 deployed to /var/www/trac3
trac4
/var/lib/trac/trac4 deployed to /var/www/trac4
trac5
/var/lib/trac/trac5 deployed to /var/www/trac5
Summary:
all trac proj environments live under /var/lib/trac
all are deployed to /var/www
Question:
Is it OK to just run them all off a single trac.wsgi from e.g.
/var/www/cgi-bin/?
What would happen with this setup if I try to access e.g.
Thanks for sharing your wisdom,
Cheers,
--