Package: apache2
Version: 2.2.3-3.3
Severity: wishlist
Tags: patch

When apache serves a .bz2 it uses text/plain as the MIME type, causing 
it to be rendered by the browser. The following patch treats bz2 files 
similar to .gz's.

-----8<--------
--- apache2.conf.old    2007-03-26 17:37:58.000000000 -0400
+++ apache2.conf        2007-03-26 17:38:37.000000000 -0400
@@ -356,6 +356,7 @@
     #
     AddType application/x-compress .Z
     AddType application/x-gzip .gz .tgz
+    AddType application/x-bzip2 .bz2
 
     #
     # DefaultLanguage and AddLanguage allows you to specify the language of 
------->8------


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork           2.2.3-3.3  Traditional model for Apache HTTPD

apache2 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to