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

相关文章:

  • 2021-06-01
  • 2021-09-16
  • 2021-09-29
  • 2021-10-03
  • 2021-11-28
  • 2021-07-10
  • 2021-12-14
  • 2021-11-28
猜你喜欢
  • 2022-12-23
  • 2021-08-29
  • 2021-11-16
  • 2021-05-02
  • 2021-04-20
  • 2021-08-04
  • 2021-06-01
相关资源
相似解决方案