Re: Changing the apache status of a document?
| From: | CC Zona | Date: | Fri, 28 Sep 2001 22:39:11 +0000 |
| Subject: | Re: Changing the apache status of a document? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69227@lists.php.net to get a copy of this message | ||
In article <20010928130853.I4539-100000@teak.adhesivemedia.com>,
philip@adhesivemedia.com (Philip Hallstrom) wrote:
> 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 :)
See the mod_rewrite docs at apache.org. Somewhere in there is an example
of doing redirects based on whether the requested resource really exists or
not.
--
CC