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

前端 未结 4 1208
生来不讨喜
生来不讨喜 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:29

    just to add, How I solved my problem if you don't know the location of the modules just search for them

     locate mod_alias.so
    

    then you may get output like

    /usr/lib/apache2/modules/mod_alias.so
    

    then you can add that location in your config file

    LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so
    

提交回复
热议问题