I have been working on installing Bugzilla for days now and their mailing list is for s*?!
I have narrowed down my problem to what looks like a permission issue. So this may not be a Bugzilla problem but an Apache configuration problem.
I have installed Bugzilla on a Fedora Core machine and SELinux has been disabled.
Here is my setup:
My bugzilla directory is on a Linux Fedora Core machine in the /var/www/bugzilla-2.22.2 directory.
The apache web service (httpd) is running as the user “apache” under the group “apache”
The $webservergroup variable in the localconfig file in the bugzilla directory is “apache”
The permissions on my bugziaal-2.22.2 directory as will as all the files within the directory are owned by root and have apache group permissions.
The permission on the bugzilla-2.22.2 directory is drwxrwxr-x 13 root apache 4096 Mar 20 08:37 bugzilla-2.22.2/
My DirectoryRoot and Directory Block in the httpd.conf is the following:
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
I run checksetup.pl from the bugzilla-2.22.2 directory and my results look good. Here are the last few lines of my output:
Checking user setup ...
Removing existing compiled templates ...
Precompiling templates ...
Checking for DBD::mysql (v2.9003) ok: found v4.003
Checking for MySQL (v4.0.14) ok: found v5.0.22-log
Populating duplicates table...
Now that you have installed Bugzilla, you should visit the
'Parameters' page (linked in the footer of the Administrator
account) to ensure it is set up as you wish - this includes
setting the 'urlbase' option to the correct url.
I then run the testserver.pl within the Bugzilla directory and I receive this:
[root@BriansFC bugzilla-2.22.2]# ./testserver.pl http://localhost
TEST-OK Webserver is running under group id in $webservergroup.
TEST-FAILED Fetch of skins/standard/index/front.png failed
Your webserver could not fetch http://localhost/skins/standard/index/front.png.
Check your webserver configuration and try again.
I checked the permission in the (Document Root)/skins/standard/index/front.png and everything looks like it should be accessible by anyone in the apache group (Which is what my Webserver is running as)
root 18576 1 0 08:47 ? 00:00:00 /usr/local/apache2/bin/httpd -k restart
apache 18602 18576 0 08:50 ? 00:00:00 /usr/local/apache2/bin/httpd -k restart
apache 18603 18576 0 08:50 ? 00:00:00 /usr/local/apache2/bin/httpd -k restart
apache 18604 18576 0 08:50 ? 00:00:00 /usr/local/apache2/bin/httpd -k restart
apache 18605 18576 0 08:50 ? 00:00:00 /usr/local/apache2/bin/httpd -k restart
apache 18606 18576 0 08:50 ? 00:00:00 /usr/local/apache2/bin/httpd -k restart
apache 18621 18576 0 08:52 ? 00:00:00 /usr/local/apache2/bin/httpd -k restart
root 18791 18534 0 09:26 pts/1 00:00:00 grep httpd
The bugzilla-2.22.2 and all subdirectories underneath have read and executable rights for the apache group. All cgi files in the bugzilla -2.22.2 directory have read and executable rights. The file front.png has read rights from the apache group.
I check my error logs “/usr/local/apache2/logs/error_log and this is what I have:
[Tue Mar 20 09:14:55 2007] [error] [client 127.0.0.1] client denied by server configuration: /var/www/bugzilla
I type in the IP address of my server and I have the message:
You don't have permission to access / on this server.
This looks to me like a permission issue, but everything looks like it should have access to these files. The Webserver is running as user apache, which is a member of the group apache. The bugzilla directory have group user apache rights as well as the files within that directory.
Can anyone offer any insight into this? I would be eternally grateful!