title: Error document (404) not working
body: <p>The following is my htaccess code, please advise on what I'm doing wrong. Thank you.
  I'm trying to add an error document. The 404 is in the root directory of the site.</p>
  
  <pre><code>ErrorDocument 404 /404.html
  
  &lt;FilesMatch "\.(jpg|jpeg|png|gif|swf|ico|css|js)$"&gt;
      Header set Cache-Control "max-age=604800, public"
  &lt;/FilesMatch&gt;
  AddDefaultCharset UTF-8
  AddLanguage en-US .html .htm .css .js
  #Header unset ETag
  FileETag none
  &lt;IfModule mod_headers.c&gt;
    &lt;FilesMatch "\.(js|css|xml|gz)$"&gt;
      Header append Vary: Accept-Encoding
    &lt;/FilesMatch&gt;
  &lt;/IfModule&gt;
  &lt;IfModule mod_mime.c&gt;
      AddType application/javascript          js
      AddType application/vnd.ms-fontobject   eot
      AddType application/x-font-ttf          ttf ttc
      AddType font/opentype                   otf
      AddType application/x-font-woff         woff
      AddType image/svg+xml                   svg svgz 
      AddEncoding gzip                        svgz
  &lt;/Ifmodule&gt;
  #Gzip
  &lt;ifmodule mod_deflate.c&gt;
  AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x- javascript application/javascript
  AddOutputFilterByType DEFLATE image/x-icon image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype
  &lt;/ifmodule&gt;
  #End Gzip
  </code></pre>