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项目文件夹

原文地址:https://www.cnblogs.com/xqnq2007/p/6607750.html