xampp添加 django支持

apache配置文件中添加

WSGIScriptAlias /chatbot1 /Users/css/djangoprojects/chatbot1/chatbot1/wsgi.py
WSGIPythonPath /Users/css/djangoprojects/chatbot1/

<Directory /Users/css/djangoprojects/chatbot1/chatbot1>
<Files wsgi.py>
Require all granted
</Files>
</Directory>

chatbot1对应所建django项目文件夹

posted @ 2017-03-23 22:23  xqnq2007  阅读(591)  评论(0编辑  收藏  举报