On 4 March 2014 14:36, Walter Wang <mr.walterw...@gmail.com> wrote: > I tried my best to follow the various guides out there, but the official > documentation here > https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/modwsgi/ has > different instructions than the instructions here, > https://www.digitalocean.com/community/articles/using-mod_wsgi-to-serve-applications-on-ubuntu-12-04
Follow the digitalocean instructions. The official Django documentation assumes you are across Apache and how mod_wsgi works in general, and therefore doesn't give step-by-step instructions. > I have been at this for over a week now, and I can't figure out how to > deploy django with mod_wsgi and apache on a linux web server. > > Can someone give or point to me a step to step instruction on how to deploy > django? > > Specifically, > 1. what do I do with the httpd.conf file? Follow the digitalocean instructions and don't touch this file (for reference, it is referring to /etc/apache2/httpd.conf). > 2. wsgi file? what's the difference between "making a wsgi file" and a > wsgi.py file? They're the same thing. mod_wsgi doesn't care what the extension is. The content in your two examples is slightly different as one was written for an older version of Django. If you're still stuck, you'll need to provide more details like - Linux distribution and version, Django version, Apache version, path to project, virtual host file contents, the output when you use the 'wget' command to visit the website, and also anything in the Apache log files. -- 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+unsubscr...@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/CABxbXqWpyg2NcEMa76b8OGjrVXu8wSY3%3DU0gsK9KOJhJ3rfBQw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.