fake 404 error redirection.
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..
<?php
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?
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..
<?php
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?
