Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bugzilla error after installation: "TEST-FAILED Web Server is not executing CGI files"

I want to install Bugzilla on my linux server. The installation was successful, but it gives this error:

TEST-FAILED Web Server is not executing CGI files

How to resolve this?


1 Answers

From the Bugzilla configuration guide:

2.2.4.1. Apache httpd

To configure your Apache web server to work with Bugzilla, do the following:

  1. Load httpd.conf in your editor. In Fedora and Red Hat Linux, this file is found in /etc/httpd/conf.
  2. Apache uses directives to permit fine-grained permission setting. Add the following lines to a directive that applies to the location of your Bugzilla installation. (If such a section does not exist, you'll want to add one.) In this example, Bugzilla has been installed at /var/www/html/bugzilla.

Check this:

<Directory /var/www/html/bugzilla>
   AddHandler cgi-script .cgi
   Options +Indexes +ExecCGI
   DirectoryIndex index.cgi
   AllowOverride Limit
</Directory>

These instructions allow Apache to run .cgi files found within the bugzilla directory; instructs the server to look for a file called index.cgi if someone only types the directory name into the browser; and allows Bugzilla's .htaccess files to override global permissions.

like image 97
splattne Avatar answered Jun 24 '26 14:06

splattne



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!