SV: [thelist] Whois embedded in PHP 404 emailling alert

John C Bullas (soton.ac.uk relay) jcbullas at nildram.co.uk
Tue Jan 13 04:31:50 CST 2004


At 10:25 13/01/2004, David Dorward wrote:

>On 13 Jan 2004, at 10:21, Andreas Wahlin wrote:
>>
>>>I have a PHP script in my 404 page to email me when something is not
>>found
>>
>>I just have a question (no answers); is there a standard name for that
>>document so I can implement it as well?
>
>The filename on the system of an error document is typically configurable. 
>The specifics vary depending on the httpd you use. I suggest you consult 
>the manual for your server for the specifics.

True, however the extension you use for the 404 logger just has to be 
recognised as parsing PHP commands so the email script works :)

thus I use:

ErrorDocument 404  /404/404page.php

or something like it in .htaccess

John 



More information about the thelist mailing list