Monday, January 5, 2015

Re: Apache and Djagno

hello
i have installed wsgi but i don't know how to use apache instead of the Django's runserver default
help!!!
Thanks

Le samedi 3 janvier 2015 17:45:00 UTC+1, SungHo Park a écrit :
Hi
I have tried to use Django in Apache, but it doesn't work.

My Django's version is 1.7.1 so I refered this page. https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ 

I'm Korean and not good at English. But I tried to read whole of the documents in that page, but it doesn't work.
I searched it in Korean language and found out that it needs to enter 'sudo a2ensite <project_name>', but it doesn't work, too.

I applied 
WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py  WSGIPythonPath /path/to/mysite.com    <Directory /path/to/mysite.com/mysite>  <Files wsgi.py>  Require all granted  </Files>  </Directory>
this. 
I use Ubuntu 14.04.









dsf

--
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/61403ed8-df69-49d9-a660-8410130ecc42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment