title: 500 error when compressing files and using AddOutputFilterByType with .htaccess
body: <p>I am using Apache 2.4 with PHP 5.5 on Windows Vista and trying to compress the files.</p>
  
  <p>Here is my <code>.htaccess</code></p>
  
  <pre><code> RewriteEngine on
  # if a directory or a file exists, use it directly
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)?$ index.php/$1 [L]
  
  # compress text, html, javascript, css, xml:
  AddOutputFilterByType DEFLATE text/plain
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/xml
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/x-javascript
  </code></pre>
  
  <p>I have <code>mod_deflate</code>, <code>mod_header</code> and <code>mod_ext_filter</code> enabled in <code>httpd.conf</code>.</p>
  
  <p>But the sever is returning 500 error.</p>
  
  <p>Any Suggestions?</p>