On Jun 1, 4:58 pm, Olemis Lang <[email protected]> wrote:
> It's possible . Both `mod_python` (deprecated soon) and `mod_wsgi`
> offer options to configure the interpreter to execute at a given
> Location (I am assuming you're using Apache) . Just use
> /pat/to/virtual/env/(bin/|Scripts)/pythonx.x

To make sure I'm understanding correctly, I currently have a line in
my Apache config as such:

<Location /trac>
...
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
...
</Location>

And now with the virtualenv it would look like so: ?

<Location /trac>
...
PythonInterpreter  /path/to/virtual/env/Scripts/pythonx.x/
main_interpreter
PythonHandler /path/to/virtual/env/Scripts/pythonx.x/
trac.web.modpython_frontend
...
</Location>


I'm still reading up on virtualenv as I want to have a thorough
understanding of what is going on and what I have to do and not to
bork my current working installations.

Thanks.

-- 
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.

Reply via email to