Hello,
I'm using Apache web server and PHP. I, already, succeded to make a custom 404 document. It is found in /messages/e404.php. So, right now, any URL typed that request a page does not exist on the web server, will be redirected to the regarded document above.
Suppose the following, I requested the a page such as http://localhost/some/awer.hdx which is not found on the server, so, the server will redirect the browser to the custom error document.
What I need to know is how to make the requested URL of the not found page, http://localhost/some/awer.hdx to be displayed on the custom error message, inorder to make broken link tell to the webmaster.