title: header('HTTP/1.0 404 Not Found'); not doing anything
body: <p>I have a 404.php file in my site's main directory and I was using <code>header('Location: 404.php');</code> for a while until someone said that you should use <code>header('HTTP/1.0 404 Not Found');</code> instead. So I replaced it with that and then added: <code>ErrorDocument 404 /404.php</code> to my apache config file and restarted the server but it doesn't work.</p>
  
  <p>I tried different variations including <code>ErrorDocument 404 404.php</code> and <code>ErrorDocument 404 mywebite/404.php</code> but to no avail.</p>
  
  <p>What I mean by doesn't work is that earlier when using <code>header('Location: 404.php');</code> it would redirect to the 404.php file but when I replace it with <code>header('HTTP/1.0 404 Not Found');</code> it seems to just skip over the line and not do anything. It most certainly is not redirecting. The reason I am calling for the redirect is because if a $_GET header value is not recognized the page should 404.</p>