Django virtual host setup. Apache mod_wsgi

前端 未结 1 407
感动是毒
感动是毒 2021-02-06 05:16

I am hoping there is a simple answer to my question as I am not the most experienced with python and Apache.

I am trying to hook up Apache with mod_wsgi. I have used a v

相关标签:
1条回答
  • 2021-02-06 05:41

    Change:

    WSGIScriptAlias / /home/mycode/mysite/scripts/django.wsgi
    

    to:

    WSGIScriptAlias /django /home/mycode/mysite/scripts/django.wsgi
    

    The first argument is the mount point, you have it to be the root of the web server, so just change it to '/django' instead.

    0 讨论(0)
提交回复
热议问题