I am hosting multiple projects all under one apache and one wsgi
config file. The trac sites are all under /home/repo/trac/sites. I am
using mercurial for version control. Can ask for further details. I am
using Trac 11.5 stable branch. For reference check mod_wsgi
configuration details in trac website.
#####contents of /etc/apache2/http.conf####
WSGIScriptAlias /trac /home/repo/trac/apache/trac.wsgi
<Directory /home/repo/trac/apache>
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
##########
#####contents of /home/repo/trac/apache/trac.wsgi #######
import sys
sys.stdout = sys.stderr
import os
os.environ['TRAC_ENV_PARENT_DIR'] = '/home/repo/trac/sites'
os.environ['PYTHON_EGG_CACHE'] = '/home/repo/trac/eggs'
import trac.web.main
application = trac.web.main.dispatch_reques
#############
On Aug 27, 3:56 am, "W. Martin Borgert" <[email protected]> wrote:
> On 2009-08-26 02:59, PeteOC wrote:
>
> > Is it possible to have multiple projects under the 1 webserver
> > instance? I'm only able to see 1 project when I go tohttp://localhost:2222
> > but I wish to see all my projects listed.
>
> I have half a dozen of Trac instances under one Apache, using
> WSGI, all with SSL, but different .htaccess files. No problem.
>
> The overview page, however, is hand-crufted. This is the
> tree:https://trac.foo.bar/- overview, just
> /var/www/index.htmlhttps://trac.foo.bar/project1- points to one Trac
> instancehttps://trac.foo.bar/project2- and so on...
>
> I'm using Trac 0.11.1 on Debian, but it shouldn't matter.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---