I have the following code for performing redirection. If my $includeFile
does not exist it will redirect to a 404 page. This is a snippet from my index.php
if ( !file_exists($includeFile) )
Header( "HTTP/1.1 404 Page Not Found" );
Header( "Location: http://legascy.com/404_error/");
But http://legascy.com/404_error/
is showing HTTP Status 200 OK instead of 404.
How to solve this?