I am getting “Invalid command 'WSGIScriptAlias' ” error while starting Apache

前端 未结 4 1215
生来不讨喜
生来不讨喜 2021-02-05 07:05

I want to deploy my Django project to EC2 server. I installed mod_wsgi.

And made configuration like in the tutorial of django.

I am getting the following:

4条回答
  •  长发绾君心
    2021-02-05 07:52

    The error specifically indicates that mod_wsgi is not being loaded into Apache.

    In what file is:

    LoadModule wsgi_module     libexec/httpd/mod_wsgi.so
    

    Did you enable the mod_wsgi module with appropriate Linux distro management command so that it will be loaded if you used distro binary packages for mod_wsgi?

提交回复
热议问题