Did you disable mod_python from Apache?

Also please start by providing the following:

1. The actual Apache configuration snippets for mod_wsgi you are using.
2. The contents of your WSGI script file.
3. Indicate how you created the virtual environment, did you use
--no-site-packages option to virtualenv.
4. The actual error messages from the Apache error logs you are
getting showing there is a problem.

You can also check you are actually running in daemon mode by following:

http://code.google.com/p/modwsgi/wiki/CheckingYourInstallation#Embedded_Or_Daemon_Mode

Anyway, at the moment you are saying it doesn't work but not actually
saying what is failing. There is going to be no point referring you to
the same documentation you have likely already read, so lets address
the specific error or wrong behaviour you are getting instead.

Graham

On 3 November 2011 06:40, karme <[email protected]> wrote:
> Hi,
>
> I have read the docs and watched the videos but yet cannot make it
> work.
> I have tried the various options and at times almost got it working.
>
> Now I'd like your help.
>
> - What I have: a standard Debian squeeze with Apache2, python and
> mod_wsgi installed via apt-get.
> - What I want: being able to run Django with mod_wsgi in daemon mode
> using what's inside my project directory only, using virtualenv, I
> don't even have django installed in the system.
> - What is working: the daemon mode seems to be working since I set it
> up to run with my user and I see it like that in top / ps while
> accessing the virtual host which is running the hello world wsgi
> program succesfully.
>
> Now I tried to run Django with different method found in the various
> docs to no avail. I'm trying again from scratch. Could you please tell
> me what is the preferred way to achieve the aforementioned goal so I
> can try again? Or may be tell me if my current setup is wrong? Please
> provide some code or even just some references to the docs. If more
> info is needed I can provide it.
> Any help would be much appreciated. Last time I deployed a Django app
> was with mod_python and I can't remember having such troubles, is it
> me or mod_wsgi is a bit more complicated to handle?
> Thanks.
>
> --
> 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.
>
>

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