Web Analytics Made Easy -
StatCounter how can i redirect to my own error page, if link is broken - CodingForum

Announcement

Collapse
No announcement yet.

how can i redirect to my own error page, if link is broken

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how can i redirect to my own error page, if link is broken

    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
    JBO

  • #2
    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
    «ذه Gه££ê®»²؛؛²

    Comment


    • #3
      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.
      Create accessible online surveys -::- Koobten.com - compare netbook prices and reviews -::- Affordable, reliable hosting for less than $20 per year
      Zend Certified Engineer

      Comment

      Working...
      X