Ryan,

Thanks for your response.

We actually do us a virtualhost configuration, with each project having its own 
location.
We also have an alias for htdocs/common and htdoc/shared, but plugins are not 
included in that configuration.

Below is an example of the virtualhost configuration.
I was not sure about the TracEnvParentDir configuration; would that make a 
difference in what we are experiencing?

<Location /project_a>
           SetHandler mod_python
           PythonInterpreter main_interpreter
           PythonHandler trac.web.modpython_frontend
           PythonOption TracEnv /home/trac/project_a
           PythonOption TracEnvParentDir /home/trac
           PythonOption TracUriRoot /project_a
           PythonOption TracLocale en_US.UTF8
           PythonOption PYTHON_EGG_CACHE /home/trac/python_egg_cache
           Order allow,deny
           Allow from all
        </Location>
        <Location /project_a /login>
          AuthType Basic
          AuthName "New Trac Project"
          AuthUserFile /home/trac.htpasswd
         # Require valid-user
        </Location>

-- Patty

From: [email protected] <[email protected]> On Behalf Of 
RjOllos
Sent: Saturday, April 6, 2019 7:14 AM
To: Trac Users <[email protected]>
Subject: Re: [Trac] Help with plugins



On Friday, April 5, 2019 at 5:16:41 PM UTC-4, pcottrill wrote:
Thanks for the quick reply.
We are actually using apache with mod_python.
Does that make a difference in your response?

-- Patty

The idea is the same. If you have all Trac sites running under same Python 
interpreter instance, plugins will be shared. I think you could use either a 
different VirtualHost directive for each environment, or maybe even just a 
different Location directive:
https://trac.edgewall.org/wiki/TracModPython#VirtualHostConfiguration
I would try to add a different configuration section for each Trac site, i.e. 
<Location /Project_a> ...

- Ryan
--
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]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

-- 
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to