首页 > 代码库 > Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the ser

Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the ser

没有Include wsgi,执行:

sudo a2enmod wsgi

可能出现以下的错误

ERROR: Module mod-wsgi does not exist!

安装 libapache2-mod-wsgi

sudo apt-get install libapache2-mod-wsgi
sudo a2enmod wsgi

Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the ser