Here's your requested document: https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/modwsgi/
If you're using ubuntu (though I assume you're not, based on your python version,) you just run:
sudo apt-get install apache2 libapache2-mod-wsgi-py3
> What should the settings.py reflect to accept calls from Apache?
You shouldn't need to do any additional configuration in django, besides the usual deployment configuration:
https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
> What port should I use?
If you're using ssl, port 443 is the standard port to listen on, if that answers your question.
> I assume that once I use Apache I no longer need to run python manage.py runserver, because I will no longer be using the local server, but now the Apache server?
Basically, runserver is for development, apache is for production. You may still want to use the runserver for testing changes to your code.
> Is mod_wsgi for a medium traffic web site for https the way to go?
If you're not going to use nginx, I'd recommend the event-mpm if you have the choice, which should help performance.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f8e9ccd4-ceb8-4b2e-aab6-13550410c307%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment