Re: How to Set Up for Apace and Mod_wsgi

2012-09-12 Thread Jon Blake
I'm not making any progress on this. I have redone part 1 of the Django 1.4 tutorial, and it all works nicely with my Oracle back-end database and the development server. I'm now trying to progress this app to be served by Apache + mod_wsgi. After starting Apache, command httpd -M lists wsgi_m

Re: How to Set Up for Apace and Mod_wsgi

2012-09-07 Thread Jon and Chiarina Blake
On 09/03/2012 04:46 PM, Michael Crawford wrote: Basically the entry in the httpd.conf file points to the dejango.wsgi file. Instead of apache/django.wsgi, point it to the location of yours. I did the same since django now creates a default wsgi file when you create the project. Those entrie

Re: How to Set Up for Apace and Mod_wsgi

2012-09-02 Thread Jon Blake
Thanks, Mike. I'll get back to this next Friday. Assistance much appreciated. Jon On Monday, September 3, 2012 4:47:16 PM UTC+10, dalupus wrote: > > Basically the entry in the httpd.conf file points to the dejango.wsgi > file. Instead of apache/django.wsgi, point it to the location of yours.

Re: How to Set Up for Apace and Mod_wsgi

2012-09-02 Thread Michael Crawford
Basically the entry in the httpd.conf file points to the dejango.wsgi file. Instead of apache/django.wsgi, point it to the location of yours. I did the same since django now creates a default wsgi file when you create the project. Those entries can go anywhere in the file as long as they a

Re: How to Set Up for Apace and Mod_wsgi

2012-09-02 Thread Jon Blake
Thanks, Mike, that fills in the gaps. Eddy Chan's notes discusses file apache/django.wsgi. This appears somewhat similar to wsgi.py in my project package - how do these two files relate to each other? And the entries in httpd.conf - they can go pretty well anywhere? Eddy's notes refer to inst

Re: How to Set Up for Apace and Mod_wsgi

2012-09-02 Thread Michael Crawford
http://eddychan.com/post/18484749431/minimum-viable-ops-deploying-your-first-django-app-to Have a look at this post. I followed it friday and now have a working django install on ubuntu. Steps should be almost the same for fedora. Mike On Sep 3, 2012, at 1:01 AM, Jon Blake wrote: > I've w

How to Set Up for Apace and Mod_wsgi

2012-09-02 Thread Jon Blake
I've worked through parts 1 and 2 of the tutorial using the development server, and I have reviewed the doco on how to use Django with Apache and mod_wsgi. I want to trial a production environment on my Fedora 14 dev box, but the provided instructions assume some familiarity with configuring the