views:

856

answers:

3

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  A: 

You might try to read the Apache documentation, it should contain everything you need.

Bombe
+1  A: 

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.

splattne
A: 

i have added this in my httpd.conf file

Options +Indexes +FollowSymLinks +ExecCGI

DirectoryIndex index.cgi

AllowOverride Limit

Order allow,deny
Allow from all

AddHandler cgi-script .cgi

but then too tis says TEST-FAILED Web Server is not executing CGI files Do i want to add ScriptInterpreterSource Registry-Strict to make it run

Are you sure you are on Linux?
innaM
ya i hav linux server
Do you have .htaccess that says something differently?
Roalt