[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re:How to stop rewrite URL on 404 error



At 10:10 PM -0400 9/24/01, Chris Calabrese is rumored to have typed:

> I'm trying to write a custom 404 Not Found error page, with a PHP script
> that will e-mail me with the URL the visitor was trying to reach.

   Er...gee, wouldn't it be a whole lot easier just to run a cronjob at night
that greps the website logs and emails you a list of all the 404's from the
day? Seems that having PHP (or anything else, for that matter) email you
every time someone spells something wrong when typing it in, or clicks an
ancient URL in some non-up-to-date search engine, would get really annoying
really quickly...

         Charlie