Hi,

I don't see a quick copy-and-paste solution here, so although I'm a
novice at configuring Apache, I'll post mine.

--- begin /etc/apache2/conf.d/bugzilla3.conf ---
Alias /bugzilla3/ /usr/share/bugzilla3/web/

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

<Directory "/usr/lib/cgi-bin/bugzilla3">
        RewriteEngine on
        RewriteBase /cgi-bin/bugzilla3
        RewriteRule ^$ index.cgi
</Directory>

<Directory "/var/lib/bugzilla3/data">
        Options FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>
--- end /etc/apache2/conf.d/bugzilla3.conf ---

Note that the mod_rewrite stuff is really only necessary to make
Bugzilla's "Home" hyperlinks work properly. I'm sure it would also be
possible to patch Bugzilla so that these links point at "index.cgi",
but I didn't take the time to look into that.

Additionally, I installed the bugzilla3-doc package, and wanted to
make its content accessible. Debian's
"/etc/apache2/sites-available/default" already makes /usr/share/doc
accessible as /doc but only for local users. As my Bugzilla system is
not internet-facing, I didn't see a great reason not to open up the
"/doc" alias to everyone.

 <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
-       Order allow,deny
-       Allow from all
+        Order deny,allow
+        Deny from all
+        Allow from 127.0.0.0/255.0.0.0 ::1/128
 </Directory>

I then set Bugzilla's "docs_urlbase" parameter to "/doc/bugzilla3-doc/html/".

-- graham



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to