apache 2.0 + Bugzilla 2.16

Posted on 2005-04-07
Last Modified: 2012-06-27
I have installed bugzilla version 2.16 along with apache 2.0.43.
Following is the portion of my httpd.conf file.

DocumentRoot "/var/www/html"
<Directory />
    Options FollowSymLinks
    Options ExecCGI
    AllowOverride Limit
<Directory "/var/www/html/bugzilla">
    Options Indexes FollowSymLinks
    Options ExecCGI
    AllowOverride Limit
    Order allow,deny
    Allow from all
DirectoryIndex index.html
AddHandler cgi-script .cgi

When I try to browse to localhost/bugzilla it gives me 403 Forbidden. But if I change the DirectoryIndex to index.cgi it works fine. Should'nt the Options ExecCGI take care of this.

Question by:wfaleiro
    LVL 4

    Expert Comment

    It's likely forbidden because it's decided not to give you a directory list of the bugzilla folder. Check apache's error_log for more details.
    LVL 1

    Author Comment

    [Thu Apr 07 17:16:51 2005] [error] [client] Directory index forbidden by rule: /var/www/html/
    [Thu Apr 07 17:17:28 2005] [error] [client] (2)No such file or directory: exec of '/var/www/html/bugzilla/index.cgi' failed

    This is the error. If directory list is forbidden how do i get the page to display when i change my index.html to index.cgi. I guess with ExecCGI option the bugzilla home page should have been displayed.

    LVL 27

    Expert Comment

    try to place

    DirectoryIndex index.cgi

    within <Directory "/var/www/html/bugzilla">....</Directory>-Container
    LVL 1

    Author Comment

    Hi Caterham
    DirecotryIndex index.cgi works outside the container too. What I want to ask is Options ExecCGI should have enabled the execution of the scripts. But it does not.
    LVL 27

    Accepted Solution

    You'll need DirectoryIndex index.cgi somewhere.

    Options ExecCGI does *not* say "use index.cgi, if localhost/bugzilla/ was requested". It will just allow to execute files, but does not say use index.cgi. This is the error from 17:16:51. The 2nd, 17:17:28 is caused by something else.

    If you are using DirectoryIndex index.html and have disabled MultiViews, you will will never see index.cgi for /bugzilla/

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
    If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now