[uWSGI] Virtual Hosting question
unbit at scottisheyes.com
Tue Jul 13 07:12:15 CEST 2010
Thanks for your suggestion - it made me think of why the base directory of
the virtualenv didn't work... it was because I hadn't made it a python
module (ie. I needed to create a __init__.py file).
Once I did that, everything worked fine. Sorry for the confusion, and thank
you for the hard work!
On Mon, Jul 12, 2010 at 9:36 PM, Roberto De Ioris <roberto at unbit.it> wrote:
> > Now, the error I am getting from uwsgi on a page hit is as follows - it
> > seems as though paths aren't configured correctly, but I've tried a
> > variety
> > of things:
> > [uWSGI DEBUG] uwsgi payload size: 908 (0x38C) modifier1: 0 modifier2: 0
> > [uWSGI DEBUG] PATH_INFO=/
> > [uWSGI DEBUG] SCRIPT_NAME=/
> > [uWSGI DEBUG] setting dynamic virtualenv to /home/www/subdomain/
> > interpreter for app 0 initialized.
> > ImportError: No module named subdomain
> Hi James, the dynamic loader does not find the "subdomain" module.
> From what i see is located into the virtualenv but it is not added to the
> Can you move it under lib/pythonXX/site-packages of the virtualenv ?
> Roberto De Ioris
> uWSGI mailing list
> uWSGI at lists.unbit.it
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the uWSGI