Its taken me all weekend, but I have now edited my 404 page. I’m not that slow a coder – the time has included a very slow download and reinstallation of Foxserv after I broke my apache’s httpd.conf file when fiddling with it to get a custom 404 page on the laptop installation that I am testing with.
Now my 404 page does not send me a notification email if someone is using a hacking script to scan for formmail and ends up at my 404 page. Its been quite a good exercise in coding as I’ve used server variables to obtain the requested web page and the refererring page, Regular expressions to check that its not some variant of formmail and a couple of if statements to do the logic. This is the best way to learn php with a (small) project to do something useful on the website.