In your /etc/httpd
directory (where httpd.conf
lives), see if you have an extra
subdirectory. If you do, add a file, httpd-bugzilla.conf
in the extra
directory with this content:
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
is where your Bugzilla directory is in your server tree. It can be either a symbolic link or the actual directory (mine is the actual directory in /var/www/htdocs/bugzilla
, yours may vary but it's the same idea).
You don't really want to use an absolute path here, "srv" is a token that Apache uses to determine the path.
Now, if you have /etc/httpd/extra
, add the following at the end of /etc/httpd/httpd.conf
# Uncomment the following line to enable Bugzilla:
If you do not
, you can simply add the above "Directory" lines to end of /etc/httpd/httpd.conf
Stop the server, start the server and see if you've got it.
Just in case, make sure that your DirectoryIndex section looks like this (I've added PHP to it)
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
DirectoryIndex index.html index.php
I assume you have a web page that you are able to access? If you do and can't, you'll need to solve that first. This is where a fixed-IP address for your box comes in handy; e.g., my server is fixed-IP at 192.168.1.10 and, in /etc/httpd/httpd.conf
the "Listen" section looks like this:
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
Works just fine, that. But, then so does VirtualHost or simply leaving it to "Listen 80." Up to you.
Bugzilla has always been just a little tricky to get going but the above seems to work pretty well.
Hope this helps some.