Sunday, September 2, 2012

Re: How to Set Up for Apace and Mod_wsgi

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 installing Apache2, along with libapache2-mod-wsgi. Is libapache2-mod-wsgi something different from the mod_wsgi 3.2 package I have already installed?

TIA, Jon

On Monday, September 3, 2012 3:06:19 PM UTC+10, dalupus wrote:
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 <jc.b...@gmail.com> wrote:

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 Apache environment.

I have Apache/2.2.17 (Unix) installed on my development box and I have installed package mod_wsgi-3.2-2.fc14 (x86-64), but I'm not sure where to go from here. Can anyone point me to a a concrete example of file edits (eg, httpd.conf, wsgi.conf) I need to do to set up Apache and mod_wsgi to serve my application? I have a path to the application package, and I want URL http://localhost/polls/ to run it.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Ai8swKtJnooJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Jeuh5iHKhScJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment