Hello all!
A website I'm working on at the moment is basically a vehichle for sucking information from a database and displaying it on screen, eg.
http://www.website.com/page.php?rowid=55 << not a real link
Which maps more or less to SELECT * FROM table WHERE rowid = 55
If the database row requested doesn't exist, I return a 404 status header:
header('HTTP/1.0 404 Not Found');
BUT these PHP generated 404's don't get redirected to the location I specify in APache's ErrorDocument clause, whereas trying to access genuinely non-existent pages does. Am I missing something vital here?