title: .htaccess 500 Internal server Error in wamp
body: <p>Hi I am getting 500 Internal  server Error when am trying to run my code in wampserver which is working absolutely 
  My .htaccess file is in wamp/www/site foloder and all other code is also in same folder
  so should i put site somewhere in .htaccess file because online my code is in root folder
  My .htaccess code:</p>
  
  <pre><code>RewriteEngine on
  FileETag none
  
  &lt;IfModule mod_rewrite.c&gt;
      RewriteCond %{REQUEST_URI} /+[^\.]+$
      RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]
  &lt;/IfModule&gt;
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  &lt;IfModule mod_deflate.c&gt;
      AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/x-javascript 
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Apache error is here:</p>
  
  <blockquote>
    <p>J:/wamp/www/site/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration, referer: /site/about/</p>
  </blockquote>