安装完 bugzilla 之后,访问 url/bugzilla,之后没有出现登录界面,而是出现了index.cgi代码。
解决办法:
You can see if the directory /etc/apache2/mods-enabled/ has a symlink cgi.load. If there is no such symlink, you can create it by running
sudo a2enmod cgi
and then restart Apache:
sudo service apache2 restart
You can run man a2enmod to see what a2enmod does.