Changing the apache status of a document?
| From: | Philip Hallstrom | Date: | Fri, 28 Sep 2001 20:11:12 +0000 |
| Subject: | Changing the apache status of a document? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69221@lists.php.net to get a copy of this message | ||
Hi -
I'm using an "ErrorDocument 404 /404.php" config option in Apache
to process files that don't exist in the web tree. This all works fine.
However, the log files record the hit with a code of 404 -- which is
correct, but not what I want :)
Is there anyway to change the status? Ideally so that it is reflected in
both what the client sees and what's in the logs?
I've tried sending a "Status: 200 OK" header, but that doesn't do it
(found that in apache's docs)...
Any ideas?
Thanks!
-philip