无效的命令“WSGIScriptAlias",可能拼写错误或由服务器配置中未包含的模块定义操作“configtest"失败 [英] Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the server configurationAction 'configtest' failed
本文介绍了无效的命令“WSGIScriptAlias",可能拼写错误或由服务器配置中未包含的模块定义操作“configtest"失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在配置 CKAN DataPusher 时遇到以下错误.
I got the below error while I was configuring CKAN DataPusher.
无效的命令 'WSGIScriptAlias',可能是拼写错误或由模块未包含在服务器配置中操作'configtest'失败.
Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the server configurationAction 'configtest' failed.
我该如何解决这个问题?
How can I fix this?
推荐答案
尝试在 Apache 中启用 wsgi mod
Try to enable wsgi mod in Apache
sudo a2enmod wsgi
如果您遇到以下错误
错误:模块 mod-wsgi 不存在!
ERROR: Module mod-wsgi does not exist!
您必须如下安装 mod wsgi.你需要做的是运行以下命令,
You will have to install mod wsgi as below. What you have to do is run the following commands,
sudo apt-get install libapache2-mod-wsgi
sudo a2enmod wsgi
sudo service apache2 restart
这篇关于无效的命令“WSGIScriptAlias",可能拼写错误或由服务器配置中未包含的模块定义操作“configtest"失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文