在ubuntu中在apache上运行django项目 [英] Running django project on apache in ubuntu
问题描述
我在ubuntu /本地环境中做这件事情。
可以任何一个帮助我?
你必须在/ etc / apache / site-available中配置apache的虚拟主机配置文件(在Ubuntu的情况下),并给出您的wsgi Web应用程序的路径
这里是官方文档部署Django
这些链接将帮助您
http://www.gaggl。 com / 2013/11 / ubuntu-13-10-based-pythondjangowsgi-setup /
I want to run my django project on apache server. I found ton of tutorial to run django project on apache but in virtualenv. But I dont want to use virtualenv. I have installed apache2 and got it running fine. I installed mod_wsgi. Now what I need to do?
I am doing this whole thing in ubuntu/local environment.
Can any one help me???
you have to configure apache's virtual host configure file in /etc/apache/site-available (in case of Ubuntu) and give the path of your wsgi web application
here it is official docs for deployment of Django
these links will help you
http://www.gaggl.com/2013/11/ubuntu-13-10-based-pythondjangowsgi-setup/
这篇关于在ubuntu中在apache上运行django项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!