Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the server configurationAction 'configtest' failed

后端 未结 3 1051
感动是毒
感动是毒 2020-12-09 07:25

I got the below error while I was configuring CKAN DataPusher.

Invalid command \'WSGIScriptAlias\', perhaps misspelled or defined by a module not in

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-09 07:55

    To enable wsgi_mod in httpd, install the module

    sudo yum install mod_wsgi
    

    and make sure to load the module in the httpd config file

    sudo nano /etc/httpd/conf/httpd.conf
    

    then add the following line in the config file, to the list of other loaded module:

    LoadModule wsgi_module modules/mod_wsgi.so
    

提交回复
热议问题