htaccess: only enable apache deflate option if present
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 29 Jun 2010 17:33:28 +0000 (19:33 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 29 Jun 2010 17:43:52 +0000 (19:43 +0200)
.htaccess

index 4b642c11df7d78251def7c45ada4a74f0c1a1294..aaebe0cbeb1becbaba529a7c65ad112944b87102 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -20,5 +20,7 @@ RewriteCond    %{REQUEST_FILENAME}.plp  -f
 RewriteRule    ^/*([^/]+)(.*)           $1.plp$2
 
 # compress html output if accepted by client
+<IfModule deflate_module>
 AddOutputFilterByType DEFLATE text/html
+</IfModule>