View Full Version : how can i redirect to my own error page, if link is broken

07-03-2002, 06:13 PM
I have a problem i hope someone can help me solve.

Instead of the usual server responses if a page or a file is not available any more i want to make a script that checks a link and returns my own error page if the link is broken.

At the moment i could use it for a cdrom menu that works as a simple file browser wich contain links to more than one CD.
so if the links not available the user should be directed to insert another CD

Thanks in advance

07-03-2002, 09:08 PM
I don't know if you can do it in JavaScript but I do know that you can do it in Perl.
Try out http://www.shavenferret.com/ if your want to try it.

Good luck, gaffer:thumbsup:

07-03-2002, 11:23 PM
Well I beleive every web server has some method for handling server errors (404 Not Found and the like) in apache, you can do this with .htaccess.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum