/etc/apache2/mods-enabled/deflate.conf - Ubuntu 12.04 LTS (Precise Pangolin)

This is the default example configuration of deflate.conf provided by Apache. This config file was generated by Apache running on Ubuntu 12.04.

It is located under: /etc/apache2/mods-enabled/deflate.conf

    <IfModule mod_deflate.c>
          # these are known to be safe with MSIE 6
          AddOutputFilterByType DEFLATE text/html text/plain text/xml

          # everything else may cause problems with MSIE 6
          AddOutputFilterByType DEFLATE text/css
          AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript
          AddOutputFilterByType DEFLATE application/rss+xml
</IfModule>

    
  

Config Details

Location
/etc/apache2/mods-enabled/deflate.conf
Operating system
Ubuntu 12.04 LTS (Precise Pangolin)
Length
9 lines
MD5 checksum
8c13524d3a4955810e6434ff388c3168

Usage

Download the raw file with wget or curl

Wget

wget -O deflate.conf.example http://exampleconfig.com/static/raw/apache/ubuntu12.04/etc/apache2/mods-enabled/deflate.conf

cURL

curl http://exampleconfig.com/static/raw/apache/ubuntu12.04/etc/apache2/mods-enabled/deflate.conf > deflate.conf.example