fake 404 error redirection.
Date: 10/04/05
(PHP Development) Keywords: php, apache
ok, so maybe I have this thought out incorrectly, so I am looking for some advice.
In my apache config we have
ErrorDocument 404 /path/to/file.php
so that anything that receives a 404 response should get redirected...
I have a script..
header("HTTP/1.1 404 Not Found");
?>
This sends a 404 message. I would expect it to redirect to the ErrorDocument, but it doesn't Is this what is suppose to happen? or am I missing a piece to the puzzle?
Source: http://www.livejournal.com/community/php_dev/60484.html