无效的命令'WSGIScriptAlias​​“,或许是由模块拼写错误或定义不包含在”configtest“服务器失败configurationAction [英] Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the server configurationAction 'configtest' failed

查看:1077
本文介绍了无效的命令'WSGIScriptAlias​​“,或许是由模块拼写错误或定义不包含在”configtest“服务器失败configurationAction的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我,而我是配置CKAN DataPusher得到了下面的错误。

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

无效的命令'WSGIScriptAlias​​',可能由一个拼写错误或定义
  模块不包含在服务器configurationAction'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模

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“服务器失败configurationAction的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆