摘要:
今天做好了第二个django项目,但在部署时出了一点小问题,在此记录一下。1、mod_wsgi 3.4已经支持了部署多个项目,只需在httpd.conf中进行如下配置:WSGIScriptAlias /website1 "D:\website1\django.wsgi" Options ExecCGI Order deny,allow Allow from allWSGIScriptAlias /website2 "D:\website2\django.wsgi" Options ExecCGI Order deny,allow Allow from a 阅读全文