I can't answer this very well. I'm really vague on the workings of web
servers.
I've been using Trac at DreamHost for over 4 years. At that time, they had
a "1-Click Install" for Trac, which I assumed had some amount of magic
behind-the-scene configuration. I do know that python and the Trac
installation was all shared, such that when I made some mods to the core
Trac code they were not seen. The DH support people set up a virtualenv for
me (hadn't ever heard of that at the time) but my mods were still not seen.
They found a "problem" with the original 1-Click-Install (in that the
shared stuff kept leaking through) and eventually my changes were visible.
Last year they dropped Trac from their 1-Click Installs, but it continued
to function. Last fall they migrated form Debian to Ubuntu, and Trac
stopped working mainly, I think, because python 2.5 was no longer
supported. That's when I started from scratch installing a virtualenv and
Trac 1.0.2 as I described earlier. What I don't know is if there are still
remnants of the old Trac/apache configuration.
In the website directory, trac/index.fcgi exports PYTHONPATH and TRAC_ENV
pointing to my local stuff. It then executes ${TRAC_ENV}/trac.fcgi which
sets egg_chache and runs:
from trac.web import fcgi_frontend
fcgi_frontend.run()
.htaccess in the trac directory contains a bunch of mod_rewrite rules
(RewriteCond/RewriteRule) for htdocs and index.fcgi.
Speaking of htdocs, I never could understand how to handle that properly.
The Trac instructions imply to me that one needs access to the apache
config to "do it right" and have them shared. I manually copy htdocs from
the Trac egg bundle into trac/htdocs.
I'm not sure this answers your question!
- Rick
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.