Installing Bugzilla on Windows

This article describes the installation of Bugzilla 3.0.3 on Windows Server 2003 R2.

The installation needs to install several Perl modules. The ActiveState ppm manager invokes a GUI application; however I found it easier to use the ppm-shell command to issue the commands in the section “Install Modules”.

Installation of Bugzilla on IIS is described here.

The Perl CGI Extension is not active if IIS is in lock down mode. If that is the case, you will find 404s in the IIS log file, with sub-error code 2, indicating lock down.

On my systems, simply allowing the Perl CGI Extension in IIS Manager was not enough. I had to allow All Unknown CGI Extensions to make Bugzilla work.

Finally, you should bear in mind that Bugzilla writes all configuration data to files in the application directory and its subdirectories (such as ./localconfig, data/params). Therefore you have to grant the IUSR account full access to the application directory (= the directory where the bugzilla virtual directory in IIS points to).

3 Responses to Installing Bugzilla on Windows

  1. […] Installing Bugzilla on Windows By devio The Perl CGI Extension is not active if IIS is in lock down mode. If that is the case, you will find 404s in the IIS log file, with sub-error code 2, indicating lock down. On my systems, simply allowing the Perl CGI Extension in IIS … devioblog – https://devio.wordpress.com […]

  2. Installing and Configuring Bugzilla Using Oracle on Windows is a visual step-by-step guide to the complicated business of installing and configuring Bugzilla using Oracle as the database repository and Windows as the OS platform.

    Every step in the process of installation and configuration is visually demonstrated so you can get this excellent application up and running in record time.

    I’ve timed the process from start to finish and using this guide you could finish the entire process in less than an hour.

    Check the link to my web site.

  3. Thomas Brewster says:

    https://bugzilla.mozilla.org/show_bug.cgi?id=297568#c6

    The secure way to add the Bugzilla extension is as follows:

    Note: this assumes you have installed bugzilla to the following
    directory: “C:\Bugzilla” . And perl to “C:\Perl” Change accordingly if
    neccessary.

    1. Open IIS MMC and select on “Web Service Extensions”. Then click “Add a new
    web service extension…”
    2. For the required file, enter the following:

    c:\perl\bin\perl.exe -xbugzilla -wT “%s” %s

    3. Now you have to edit the metabase.xml file manually, since the above
    path is incorrect, but the correct one cannot be added via the
    MMC. So open the metabase.xml file (found in
    “c:\windows\system32\inetsrv”) in Notepad and find the following entry
    for Bugzilla:

    1,c:\perl\bin\perl.exe -xbugzilla -wT “%s” %s,1,Bugzilla,Bugzilla

    This entry needs to be changed to (note that the quotes will have been
    converted to " by the MMC):

    1,C:\perl\bin\perl.exe -xc:\Bugzilla -wT "%s" %s,1,Bugzilla,Bugzilla

    In effect the path specified here should be the same as the one
    specified in Application mappings of your bugzilla web site and can
    actually be copied from the appropriate entry for this mapping in the
    metabase.xml file (or compare it to ensure they are pointing to the
    same file and parameters).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: