All;
Apologies if this is OT:
I'm setting up a new VM with Bugzilla.
I've done the install of prerequisites and installed bugzilla in /var/www/html/bugzilla on a CentOS 7 64bit OS.
I've installed PostgreSQL 11, created the bug user, added the following to the localconfig file
$db_driver = 'pg'; $db_host = 'localhost'; $db_name = 'bugs';
running ./checksetup.pl in /var/www/html/bugzilla (as root) succeeds:
# ./checksetup.pl * This is Bugzilla 5.0.6 on perl 5.16.3 * Running on Linux 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020
Checking perl modules... Checking for CGI.pm (v3.51) ok: found v3.63 Checking for Digest-SHA (any) ok: found v5.85 Checking for TimeDate (v2.23) ok: found v2.24 Checking for DateTime (v0.75) ok: found v1.04 Checking for DateTime-TimeZone (v1.64) ok: found v1.70 Checking for DBI (v1.614) ok: found v1.627 Checking for Template-Toolkit (v2.24) ok: found v2.24 Checking for Email-Sender (v1.300011) ok: found v1.300034 Checking for Email-MIME (v1.904) ok: found v1.926 Checking for URI (v1.55) ok: found v1.60
...
Checking for DBD-Pg (v2.17.2) ok: found v2.19.3
Removing existing compiled templates... Precompiling templates...done. Fixing file permissions...
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. checksetup.pl complete
My /etc/httpd/conf/httpd.conf file contains this:
<Directory "/var/www/html"> Options Indexes FollowSymLinks #AllowOverride None Require all granted AddHandler cgi-script .cgi Options +Indexes +ExecCGI DirectoryIndex index.cgi AllowOverride Limit </Directory>
<Directory "/var/www/html/bugzilla"> Options Indexes FollowSymLinks #AllowOverride None Require all granted AddHandler cgi-script .cgi Options +Indexes +ExecCGI DirectoryIndex index.cgi AllowOverride Limit </Directory>
However, when I run testserver.pl from /var/www/html/bugzilla:
# ./testserver.pl http://10.16.0.109/bugzilla
I get this:
# ./testserver.pl http://10.16.0.109/bugzilla TEST-OK Webserver is running under group id in $webservergroup. TEST-FAILED Fetch of images/padlock.png failed Your web server could not fetch http://10.16.0.109/bugzilla/images/padlock.png. Check your web server configuration and try again.
I've read and googled but not found the issue
Thanks in advance for any help
On 4/17/20 2:15 PM, S.Bob wrote:
Apologies if this is OT:
I'm setting up a new VM with Bugzilla.
I've done the install of prerequisites and installed bugzilla in /var/www/html/bugzilla on a CentOS 7 64bit OS.
CentOS is off-topic. You could at least be running it on Fedora. :-)
My /etc/httpd/conf/httpd.conf file contains this: <Directory "/var/www/html">
</Directory>
<Directory "/var/www/html/bugzilla">
</Directory>
I assume your top-level is serving from /var/www/html?
# ./testserver.pl http://10.16.0.109/bugzilla TEST-OK Webserver is running under group id in $webservergroup. TEST-FAILED Fetch of images/padlock.png failed Your web server could not fetch http://10.16.0.109/bugzilla/images/padlock.png. Check your web server configuration and try again.
You need to check the web server logs to see what the request was and why the request failed.