Ah yes, this seems to stem from the fact the "ErrorDocument 404 /404.php" is
really a kind if redirect. What's weird about this is if you use it one way
(in the .htaccess) the PHP variables that appear are pre-redirect. If you
put "Errordocument 404 /404.php" into the httpd.conf the PHP variables are
post-redirect and are just as if you went straight to the 404.php page. I
am sure I am missing some kind of Apache "point-of-view," but is it working
for most of my URLs now. Some ancient CGI accesses come in now and again
and they show this problem.
However, thanks for the idea and code. Even as just a 404 trigger, this is
very useful. The emails are starting to show just how many old URLs exist
on my servers.
John
> -----Original Message-----
> From: Institute for Social Ecology [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 2:32 PM
> To: John Huggins
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] 404 error checker
>
>
> John,
>
> I had the same problem, but it was a matter of how I was refering the teh
> 404 file in htaccess. It is working fine for me now. An example of my
> output is below. I wish I knew more about appache and htaccess to help
> you out, but I don't.
>
> michael
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]