Public bug reported:

Binary package hint: bugzilla

*Problem:

Apache2 was running fine with a root in /var/www and the cgi-bin in
/usr/lib.  After installing bugzilla3 yesterday bugzilla worked
(http://host/cgi-bin/bugzilla3"; but "http://host/"; returned "The
requested URL / was not found on this server."  (404)

Accessing "/cgi-bin/cvsweb" also returned 404 despite living next to
"/cgi-bin/bugzilla3" in the cgi-bin.


*Expected behavior:

Bugzilla3 doesn't make apache2 take a dump.


*Possible solution:

As it turns out conf.d/bugzilla3 (apache config) was wrapped in a
<virtualhost> directive.  Removing that fixed the issue for me:

Old:

<VirtualHost *:80>
        Alias /bugzilla3/ /usr/share/bugzilla3/web/
        Alias /cgi-bin/bugzilla3 /usr/lib/cgi-bin/bugzilla3

        <Directory "/usr/share/bugzilla3/web">
                AllowOverride none
                Order allow,deny
                Allow from all
        </Directory>

        <Directory "/usr/lib/cgi-bin/bugzilla3">
                AddHandler cgi-script cgi
                DirectoryIndex index.cgi
                Options +Indexes +ExecCGI -MultiViews +SymLinksIfOwnerMatch 
+FollowSymLinks
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>

        <Directory "/var/lib/bugzilla3/data">
                Options FollowSymLinks
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
</VirtualHost>

New:


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

        <Directory "/usr/share/bugzilla3/web">
                AllowOverride none
                Order allow,deny
                Allow from all
        </Directory>

        <Directory "/usr/lib/cgi-bin/bugzilla3">
                AddHandler cgi-script cgi
                DirectoryIndex index.cgi
                Options +Indexes +ExecCGI -MultiViews +SymLinksIfOwnerMatch 
+FollowSymLinks
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>

        <Directory "/var/lib/bugzilla3/data">
                Options FollowSymLinks
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>


====================================


apt-cache policy apache2
apache2:
  Installed: 2.2.11-2ubuntu2.6
  Candidate: 2.2.11-2ubuntu2.6
  Version table:
 *** 2.2.11-2ubuntu2.6 0
        500 http://us.archive.ubuntu.com jaunty-updates/main Packages
        500 http://security.ubuntu.com jaunty-security/main Packages
        100 /var/lib/dpkg/status
     2.2.11-2ubuntu2 0
        500 http://us.archive.ubuntu.com jaunty/main Packages


apt-cache policy bugzilla3
bugzilla3:
  Installed: 3.2.0.1-1
  Candidate: 3.2.0.1-1
  Version table:
 *** 3.2.0.1-1 0
        500 http://us.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status


Server:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"

** Affects: bugzilla (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/etc/apache2/conf.d/bugzilla3 breaks server config
https://bugs.launchpad.net/bugs/558954
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to