ImportError: No module named django.core.wsgi Apache + VirtualEnv + AWS + WSGI

后端 未结 10 849
予麋鹿
予麋鹿 2020-11-29 03:34

I am trying to publish my site on an Amazon\'s EC2 Instance, and I keep getting a 500 error. I really dunno why.

//Log Files

    [Sun Feb 17 23:12:48         


        
10条回答
  •  抹茶落季
    2020-11-29 03:53

    Add this to the Apache configuration file:

    WSGIPythonHome /home/ec2-user/.virtualenvs/mysite-main
    

提交回复
热议问题