title: Htaccess 404 redirect not working, it doesnt redirect
body: <p>Whit this code, the 404 redirect doesnt work. I dont get any error. If i type in an url that doesnt exists, i only get an empty white page.</p>
  
  <p><strong>Code updated:</strong></p>
  
  <pre><code>   &lt;IfModule mod_rewrite.c&gt;
      RewriteBase /
      RewriteBase /
      RewriteCond %{REQUEST_FILENAME} !-f  
      RewriteCond %{REQUEST_FILENAME} !-d  
      RewriteRule ^(.*)$ htaccess.php?q=$1 [QSA]  
  &lt;/IfModule&gt;  
  
  
  &lt;ifModule mod_gzip.c&gt;
      mod_gzip_on Yes
      mod_gzip_dechunk Yes
      mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
      mod_gzip_item_include handler ^cgi-script$
      mod_gzip_item_include mime ^text/.*
      mod_gzip_item_include mime ^application/x-javascript.*
      mod_gzip_item_exclude mime ^image/.*
      mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
  &lt;/ifModule&gt;
  
  
  #RewriteEngine On
  #RewriteCond %{HTTPS} !=on
  #RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
  #RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
  #RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
  
  
  RewriteEngine On
  RewriteBase /
  ErrorDocument 404 404.php/
  RewriteCond %{REQUEST_URI} ^/404/$
  RewriteRule ^(.*)$ 404.php [L]
  </code></pre>