Hello, I have enabled the ErrorDocument 404 in httpd.conf and it works great.. What I would like to be able to do is when a user clicks a link in a page and that page does not exist, I would like to capture the full link, ie http://[domain.com]/page.html in javascript. The page is captured in the logs but I would prefer not to go to the logs to get this value. Any thoughts on the subject would be greatly appreciated. Thanks!
Update.. considering in httpd.conf the following statement: ErrorDocument 404 /pagenotfound.html.. even if I parse the request URI it shows pagenotfound.html rather than the actual link the user clicked in the page.. Any thoughts on how to intercept the clicked link without having to read the log file?