AddOutputFilterByType DEFLATE text/html text/plain text/xml application/x-javascript text/css
DeflateCompressionLevel 9
BrowserMatch ^Mozilla/4 gzip-only-text/html
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|bmp|zip|tar|rar|alz|a00|ace|txt|mp3|mpe?g|wav|asf|wma|wmv|swf|exe|pdf|doc|xsl|hwp|java|c|t?gz|bz2|7z)$ no-gzip dont-vary
</IfModule>
출처 : http://sir.co.kr/bbs/board.php?bo_table=pg_apache&wr_id=394