Forum Moderators: LifeinAsia

Message Too Old, No Replies

404 Errors

E-Mail Error

         

suler

8:32 pm on Nov 9, 2001 (gmt 0)

10+ Year Member



Hi,

I'm trying to find a way to get the 404 error pages e-mailed to me, but I can't find anything simple that would do that. I have setup a 404 error page but I just need a script that would e-mail me the page they came from and they page they were going to. If any of you can help I'd really appreciate it :) Thanks.

Thanks,
Suler

Macguru

10:13 pm on Nov 9, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi suler,

Welcome to WmW. Hope you will like this place.

I heard of a couple of free scripts that can send you e-mail notifications for every error message. I just want to point out that there is malignent viruses out there, on infected IIs servers, such as Code Red or Nimda.

Those nasties scan even UNIX/Linux Web servers for files that exist only on IIs, causing between 300 and 2000 404 errors a day on my sites.

I would recieve millions of e-mail a day for bogus errors if such a script was installed on my servers.

Are you sure that you *really* want this?

suler

6:40 am on Nov 10, 2001 (gmt 0)

10+ Year Member



Hi,

Yes, I know that. The site isn't up yet, I'm still working on it. Yes I'm sure I would like to know where I could get those scripts that are easy to use and install. I'd really appreciate it if you let me know where I can find them. Thanks for the warning :) Bye.

Thanks,
Suler

Woz

7:12 am on Nov 10, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Might actually be better to store that information in a database on your server and then view at your leisure.

Onya
Woz

Macguru

1:12 pm on Nov 10, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well if you are running an Apache server you can get birdtrap.cgi. It's free and simple to install. The script allows you to also log to file and/or e-mail you the information regarding an error.

If you query Google for birdtrap.cgi you should get it on top.

I cannot really recommend it since I never tried it. But the other free scripts I got from this place worked good and where pretty easy to install.

Good luck!

suler

5:41 am on Nov 11, 2001 (gmt 0)

10+ Year Member



Well, I'm running NT with IIS 4. I could store it to database, I've thought about that already but the thing is I really don't have the time to go and check the database a copule of times a day, and sometimes I might even forget to. That's why i want it to e-mail me cuz my e-mail is always on and I always get notified of new mail so that way I wont have any phone calls saying the site is not working etc... I really appreciate your responses though. If anyone else has any ideas I'd really appreciate it. An ASP script would be also grate without CDONUTS

Xoc

5:55 am on Nov 11, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Combine the stuff in this post: [webmasterworld.com...] with the stuff in this post: [webmasterworld.com...]

Basically you want to create a custom 404 page. When the page gets hit, then you want to have it use the cdonts library to send you an email.

Marcia

5:55 am on Nov 11, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>don't have the time to go and check the database
suler, think about how much time it will take to go through all those emails every day. It's constant, every day.

You might be able to come up with something by doing a search for free ASP scripts.

suler

6:04 am on Nov 11, 2001 (gmt 0)

10+ Year Member



What you mean combine them?

I know but I dont' want to use CDONUTS if that page gets created with frontpage isn't there a way to use the webbot to send the e-mail just like I'd do in a form?

I searched for them already but they're all using CDONUTS

Xoc

6:19 am on Nov 11, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Combine the techniques. You will need to get the ISP to configure the server to use a custom 404 page, as shown in the first post. In the 404 page, the easiest way is to use the CDONTS library, as shown in the second post. There may be some way to use the FrontPage email form submission thing, but I can't think of how to do it.

suler

6:23 am on Nov 11, 2001 (gmt 0)

10+ Year Member



Xoc do you have AIM or MSN? If so please IM me.

AOL: Tupac4814
MSN: suler_abou@hotmail.com

I'd really appreciate it. I'm not sure how to play around with CDONUTS

Xoc

5:26 pm on Nov 11, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No instant messaging. But the ASP script I gave for CDONTS should work if it is installed on your server. If not, have your ISP install SMTP, which will install it.

suler

12:06 am on Nov 12, 2001 (gmt 0)

10+ Year Member



what script?

Marcia

12:19 am on Nov 12, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check here, suler:

[webmasterworld.com...]
[webmasterworld.com...]

suler

5:33 pm on Nov 12, 2001 (gmt 0)

10+ Year Member



Thanks alot man, I really appreciate it