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

你可能感兴趣的:(linux,wsgi,apache)