我想在debian vm上设置bugzilla。
一切都运行相当顺利,直到我做官方手册build议的testing:
./testserver.pl http://www.localhost/bugzilla
它返回:
TEST-FAILED Fetch of images/padlock.png failed Your web server could not fetch http://www.localhost/bugzilla/images/padlock.png. Check your web server configuration and try again.
我所做的事情直到这一点:
改变了bugzilla的localconfig:
$webservergroup = 'www-data'; $db_driver = 'mysql'; $db_pass = 'myDemoPass';
浏览到http://localhost/bugzilla/ results到一个找不到网站的错误。
bugzilla文件夹位于/ var / www / html /
可能是什么原因?
眼镜:
Debian 7,Apache2,MySQL,Pearl
编辑:我做了一个新的安装在一个单独的虚拟化的debian干净安装,并达到了一个点,我得到这个错误信息:
Syntax error on line 73 of apache2.conf Apache2::SizeLimit at the moment works only with non-threaded MPMs...
我添加到apache2.conf的行:
PerlSwitches -w -T PerlConfigRequire /var/www/html/bugzilla/mod_perl.pl
关于目前Apache2::SizeLimit at the moment works only with non-threaded MPMs的问题, Apache2::SizeLimit at the moment works only with non-threaded MPMs :Bugzilla只能运行于Apache的prefork多处理模块[MPM]。 如果你的Apache版本正在运行另一个MPM,那么Bugzilla会抛出这个错误。
我遇到了同样的问题,终于可以通过更改Apache正在使用的多处理模块来获取默认的index.cgi页面,从而在我的浏览器中加载。 我运行命令a2dismod mpm_event从/etc/apache2/mods-enabled目录中a2enmod mpm_prefork事件模块的链接,然后运行a2enmod mpm_prefork来将prefork模块(已经在/etc/apache2/mods-available )进行符号链接。 最后,我使用service apache2 restart重新启动服务器,以便Apache可以使用新build的符号链接模块。
mpm命令列表 | 关于使用prefork的Bugzilla注意事项 | 有关Apache2的符号链接的更早但相关的信息help.ubuntu.com/10.04/serverguide/httpd.html
关于SizeLimit问题的另一个暗示:在Debian上,我只是做了
apt-get install apache2-mpm-prefork
这会自动卸载apache2-mpm-worker 。 请阅读软件包说明 。 Bugzilla现在运行良好。