So, I can continue to do large doses of 404 pages..
According to php.net/header, you can send this header:
header("HTTP/1.1 404 Not Found");
however you can also send this one (I tested it using curl):
header("HTTP/1.1 200 OK");
which will say the page is OK, even when it's an error document.
So, what I recommend to those of you using php pages as ErrorDocuments is something like this:
if( /* the request is something that you understand and can/intend to fill */){
header("HTTP/1.1 200 OK");
}else{
//though this is probably redundant, I got this output anyway..
header("HTTP/1.1 404 Not Found");
}
Then, you can use a 404 php page with impunity.. 🙂
However, I'd like to know if there really is a better way to do this whole thing that I'm not aware of, such as the handling of "pretty URL's" etc. - thanks.
Samuel