Re: Need help configuring Apache production server on Raspberry PI to work with Django.

2013-01-11 Thread Nikolas Stevenson-Molnar
It goes in your Apache config file. Probably somewhere like /etc/httpd/httpd.conf _Nik On 1/11/2013 5:10 PM, 7equivale...@gmail.com wrote: > Hey guys, thanks for the help. > (1 )I have confirmed mod-wsgi has been compiled against the correct > version of python. > (2) I have also confirmed mod-ws

Re: Need help configuring Apache production server on Raspberry PI to work with Django.

2013-01-11 Thread 7equivalents
Hey guys, thanks for the help. (1 )I have confirmed mod-wsgi has been compiled against the correct version of python. (2) I have also confirmed mod-wsgi is in the list of loaded modules. My next question is what file do I place the WSGIScript directive in? I can't seem to find which file it goe

Re: Need help configuring Apache production server on Raspberry PI to work with Django.

2013-01-10 Thread Bill Freeman
The apache configuration files must have, at a minimum, a WSGIScriptAlias directive. There is also a list of the apache modules which get loaded, and mod_wsgi must be included. mod_wsgi must be linked against the particular apache, but the distribution, if you're using the OS's package manager, s

Re: Need help configuring Apache production server on Raspberry PI to work with Django.

2013-01-10 Thread Nikolas Stevenson-Molnar
I mean configuring Apache, as described here: https://docs.djangoproject.com/en/1.4/howto/deployment/wsgi/modwsgi/ If you're not too attached to Apache, I personally find it easier to use Gunicorn with Nginx: http://gunicorn.org/#deployment _Nik On 1/10/2013 12:27 PM, 7equivale...@gmail.com wrot

Re: Need help configuring Apache production server on Raspberry PI to work with Django.

2013-01-10 Thread 7equivalents
When you say "From there it should just be configuration." Do you mean either (1) Configuring mod-wsgi to work with apache, or (2) Configuring mod_wsgi to work with Django. The errors where involved with my first attempt at installing mod-wsgi according to the Django instructions, However now

Re: Need help configuring Apache production server on Raspberry PI to work with Django.

2013-01-10 Thread Nikolas Stevenson-Molnar
Also, IIRC mod-wsgi has to be compiled against a specific version of Python, so you may have a version mismatch. I ran Apache + Django + Python 2.7 once and I ended up building modwsgi myself against Python 2.7 (I think the pre-built was 2.6). _Nik On 1/10/2013 10:59 AM, 7equivale...@gmail.com wr

Re: Need help configuring Apache production server on Raspberry PI to work with Django.

2013-01-10 Thread Nikolas Stevenson-Molnar
>From there, it should just be configuration. What errors are you seeing? _Nik On 1/10/2013 10:59 AM, 7equivale...@gmail.com wrote: > Hello, I need help configuring the Apache production server to work > with Django on a Rapberry pi. I am still new to Linux. Here is what > I've done so far. > > (