title: .htaccess (mod_rewrite) 500 Internal Server Error
body: <p>I have this in my .htaccess
  But i get 500 Internal Server Error.
  I tried almost everything that i found in internet
  for mod_rewrite, but it still doesn't helps me.
  How do i fix this?</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^zip/([A-Z]*)/([a-zA-Z]*)$ zip.php?state=$1&amp;city=$2 [L,QSA]
  &lt;/IfModule&gt;
  
  ErrorDocument 404 /404.php
  
  FileETag MTime Size
  
  &lt;IfModule mod_expires.c&gt;
      &lt;filesmatch ".(jpg|jpeg|gif|png|ico|css|js|woff)$"&gt;
      ExpiresActive on
      ExpiresDefault "access plus 1 year"
      &lt;/filesmatch&gt;
  &lt;/IfModule&gt;
  </code></pre>