Need to setup apache2 configuration after installing bugzilla3

Bug #300566 reported by Anand Vaidya
14
Affects Status Importance Assigned to Milestone
bugzilla (Ubuntu)
Fix Released
Medium
Raphael Bossek

Bug Description

Binary package hint: bugzilla3

After bugzilla3 and dependent packages are installed, it is necessary to copy /usr/share/bugzilla3/debian/apache.conf to /etc/apache2/conf.d/bugzilla3.conf and restart (reload, maybe?) Apache2.

This is not currently happening. A symlink from /var/www/bugzilla3 to /usr/share/bugzilla3 does not work correctly (this might be attempted by a newbie).

At the very least, a message could be printed in the post-installation that the above mentioned action needs to be carried out by the admin.

My system details: Kubuntu Intrepid Ibex AMD64.

root@devesx3:/usr# lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

root@devesx3:/usr# apt-cache policy bugzilla3
bugzilla3:
  Installed: 3.0.4.1-2ubuntu1
  Candidate: 3.0.4.1-2ubuntu1
  Version table:
 *** 3.0.4.1-2ubuntu1 0
        500 http://sg.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Anand Vaidya (anand-vaidya) wrote :

Further, the link to the "Home" is given as http://IPADDRESS/cgi-bin/bugzilla3/ but clicking this link results in

403 error as follows:

Forbidden

You don't have permission to access /cgi-bin/bugzilla3/ on this server.
Apache/2.2.9 (Ubuntu) DAV/2 SVN/1.5.1 PHP/5.2.6-2ubuntu4 with Suhosin-Patch mod_perl/2.0.4 Perl/v5.10.0 Server at 10.67.5.71 Port 80

From the /var/log/apache2/error_log,

[Fri Nov 21 20:10:14 2008] [error] [client 10.67.32.23] attempt to invoke directory as script: /usr/lib/cgi-bin/bugzilla3/, referer: http://10.67.5.71/cgi-bin/bugzilla3/index.cgi

The correct link is http://IPADDRESS/cgi-bin/bugzilla3/index.cgi

I checked the apache DirectoryIndex etc , are set correctly. (I have not edited these settings)

Revision history for this message
Edgar Hilton (godzeus-comcast) wrote :

Ditto. I separately did the exact same things as described here. With the exact same results.

However, I need to add that in addition to the HOME link, the documentation link does not work either (I installed bugzilla3-docs and copied them to the docs directory within the cgi-bin/bugzilla3 directory).

I'm able to get both of these links to work if I change the Alias from:

Alias /bugzilla3/ /usr/share/bugzilla3/web/

to

Alias /bugzilla3/ /usr/lib/cgi-bin/bugzilla3/

However, this breaks the skins.

Revision history for this message
David Gauchard (d-a-v) wrote :

Exactly the same problem here.

It works with redirectmatch (thanks google).
I don't know if the <Directory.../Directory> stuff is mandatory

Alias /bugzilla3 /usr/share/bugzilla3/web

<Directory /cgi-bin/bugzilla3/>
    AddHandler cgi-script .cgi
    Options +Indexes +ExecCGI
    DirectoryIndex index.cgi
    AllowOverride Limit
</Directory>

RedirectMatch ^/cgi-bin/bugzilla3[/]*$ /cgi-bin/bugzilla3/index.cgi

Revision history for this message
Brandon Thomson (bthomson4) wrote :

Adding this line:

RedirectMatch ^/cgi-bin/bugzilla3[/]*$ /cgi-bin/bugzilla3/index.cgi

to the end of /etc/apache2/apache2.conf solved the "broken Home link" problem for me. A kludge, sure, but good enough.

Revision history for this message
praveen (praveenkumar-nayak) wrote :

Exactly the same problem here.

It works with redirectmatch.

Rolf Leggewie (r0lf)
Changed in bugzilla (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
garym (miller-garym) wrote :

Webdot graphs also have an issues that can be worked around by a redirect match.

RedirectMatch ^/cgi-bin/bugzilla3/webdot/(.*)$ /bugzilla3/data/webdot/$1

see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494091

Revision history for this message
Raphael Bossek (bossekr) wrote :

Pending for 3.2.4.0-3

Changed in bugzilla (Ubuntu):
assignee: nobody → Raphael Bossek (bossekr)
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bugzilla - 3.2.4.0-3

---------------
bugzilla (3.2.4.0-3) unstable; urgency=medium

  * Changed processing of Status/Resolution field changes. I hope this
    modification is less disturbing for 99% of typical installations.
  * Fixed ucf warning. Closes: #521855
  * (Ubuntu) Fixed processing of manual checksetup.pl execution.
    LP: #398892, #394972, #394846, #367476, #301909, #317963, #313310
  * (Ubuntu) Installation of outstanding packages is not supported.
    LP: #389962
  * (Ubuntu) perl-modules=5.10.0-24 provides the CGI package of version 3.29
    which is not enought to bugzilla. For Perl 5.10 version 3.33 of CGI
    package is required. LP: #386620
  * (Ubuntu) Added cvs and imagepagick to Recommends. LP: #386598
  * (Ubuntu) Applied example from Rolf Leggewie for vh-basic.conf. LP: #386608
  * (Ubuntu) Restart of apache2 added. LP: #300566
  * (Ubuntu) Processing of templates fixed by pre-checksetup.d script.
    LP: #302192
  * (Ubuntu) The sym-link /usr/share/bugzilla3/web/data ->
    /var/lib/bugzilla3/data is valid. LP: #386592
  * (Ubuntu) Sendmail support is fixed upstream. LP: #281379
  * (Ubuntu) Change file permissions for skins after checksetup.pl call.
    LP: #314123
  * (Ubuntu) Fixed file permissions in /etc/bugzilla3. LP: #386604

bugzilla (3.2.4.0-2) unstable; urgency=medium

  * Fixed checksetup.pl script.
  * Changed severity to medium for security reasons fixed with new upstream
    release.

bugzilla (3.2.4.0-1) unstable; urgency=low

  * New upstream version. Closes: #528228
  * Removed uploaders; nobody else maintains this package.
    Closes: #521431, #536122
  * Added libmail-sendmail-perl dependency. Closes: #516101
  * Change access rights within cron's daily script. Closes: #516135
  * Added dependency on an non-existing package libemail-reply-perl. This
    package will RFP later but can be build with dh-make-perl in the meantime.
    To satisfy the dependencies libemail-mime-creator-perl will be installed
    instead and should be removed later. Closes: #528780
  * Revert access right /usr/share/bugzilla3/lib and /usr/share/perl5/Bugzilla
    to 0775. Closes: #533394
  * Removed VirtualHost section from basic.conf. Closes: #511839
  * Removed bashishm from debian/rules. Closes: #535373
  * Updated Czech translation of bugzilla debconf messages. Closes: #535859
  * Spanish debconf template translation for bugzilla. Closes: #515313
  * Vietnamese debconf templates translation update. Closes: #509436
  * Update to 3.8.2 standard without changes.

 -- Bhavani Shankar <email address hidden> Fri, 24 Jul 2009 16:48:01 +0100

Changed in bugzilla (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.