Dear group,

I'm trying to set up mod_wsgi with a new TurboGears 2 install inside a
virtualenv. The documentation has been great, except that on Plesk
there is one minor annoyance that requires some special configuration
that I am having trouble with.

Because Plesk overwrites any httpd.conf/httpd.include files you put in
your virtualhosts, you have to use a special 'vhost.conf' file to add
any configuration directives. This special file is included inside the
<VirtualHost /> processing for each domain. That's fine for the
WSGIScriptAlias directive, but others like WSGIPythonHome and
WSGIPythonEggs, etc are not allowed within the VirtualHost section.

How does one configure mod_wsgi for projects within virtualenv, when
the only configuration directives you are permitted are inside of a
VirtualHost section? Are the WSGIPythonHome/etc even required? Can
these directives be done inside the .wsgi file instead (via
site.addsitedir/os.environ)?

Please forgive me if this is basic. I just haven't been able to find
much help that's specific to Plesk.

Thank you,
Seth

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" 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/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to