我按照本教程安装 Bugzilla,直到我在 URL 中点击 localhost/bugzilla 才遇到任何问题。我的sites-available/default
配置如下:
#ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Alias /bugzilla/ /var/www/bugzilla/
<Directory /var/www/bugzilla>
AddHandler cgi-script .cgi .pl
Options +Indexes +ExecCGI +FollowSymLinks
DirectoryIndex index.cgi
AllowOverride Limit
</Directory>
#<Directory "/usr/lib/cgi-bin">
# AllowOverride All
# Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
# Order allow,deny
# Allow from all
#</Directory>
当尾随var/log/apache2/error.log
(13)Permission denied: exec of '/var/www/bugzilla/index.cgi' failed