How to log which page was “not found”? (Trying custom error page with htaccess, php, http_referer)?

When you use a remote ErrorDocument URL like http://mysite.com/my_404.php Apache will send a redirect to that URL to the client, that's why you can't get the URL that causes the 404 from $_SERVER'REQUEST_URI' like Matt Bridges suggested. You might want to try using a local ErrorDocument (no scheme and servername), like this.

This is likely already being done in your Apache log file. You could just parse the data rather than recording it twice.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions