解决网站无法访问的问题
1. vim /etc/apache2/apache2.conf
<Directory /path/to/mysite> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
3. 更改目录权限 chomod 755 /path/to/mysite (父级目录也要改!)
2.卸载,安装
apt-get remove libapache2-mod-python libapache2-mod-wsgi
apt-get install libapache2-mod-wsgi service apache2 restart