Thank you very much for the answer and for the warning. I hope that I do 
not receive a lot of error email messages, but I sure am glad that I 
learned how to use filters in Eudora.

I knew this list would have the answer that I needed!

Thanks again,
Janet

At 04:31 PM 08/20/2002 +0300, you wrote:
>Hello Janet,
>
>For Apache:
>Add an "ErrorDocument" directive either to your httpd.conf or
>.htaccess file. Something like:
>ErrorDocument 404 /error404.php
>
>And in this PHP file use mail() function to mail you about the
>problem. As I remember, inside that script (in this case error404.php)
>you will have access to some server variables, such as REQUEST_URI,
>USER_AGENT, etc, so that mail you will send to yourself may contain
>some useful information, instead of just plain error report.
>
>But be aware, that sometimes, when viruses like Code Red will scan
>your server you will get LOTS of mails. And your server *will* be
>scanned by them, even my http://localhost gets scanned from time to
>time...
>
>
>Tuesday, August 20, 2002, 3:47:40 PM, you wrote:
>
>JR> Hello everyone.
>
>JR> I was wondering if there is a way to use Formail (or some other 
>method) to
>JR> automatically send an email to myself every time that someone 
>encounters a
>JR> 404 (or other) error on our web site. I'd like it to automatically 
>execute
>JR> behind the scenes without any user input and have the email contain 
>the URL
>JR> of the page the visitor was trying to access.
>
>JR> I was hoping there might be some code or something that others are 
>already
>JR> using that they might like to share. Any assistance would be greatly
>JR> appreciated.
>
>JR> Thanks,
>JR> Janet
>
>
>--
>Best regards,
>  German                            mailto:[EMAIL PROTECTED]
>  ICQ:48533867
>  MSN: [EMAIL PROTECTED]
>  AIM: CreepyRunneR
>
>
>
>____ � The WDVL Discussion List from WDVL.COM � ____
>To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
>        Send Your Posts To: [EMAIL PROTECTED]
>To change subscription settings to the wdvltalk digest version:
>     http://wdvl.internet.com/WDVL/Forum/#sub
>
>________________  http://www.wdvl.com  _______________________
>
>You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
>To unsubscribe send a blank email to %%email.unsub%%


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to