I have a cobol program which generates automatic emails that contains a url whose referenced page does not exist anymore. The option of modifying the cobal program does not exist. The referenced page was on Linux OS but this server has been decommissioned. Now we only have Windows OS. For example the user client sends http://www.myserver/cgi-bin/rmsnav.cgi
When user attempts http://www.myserver/cgi-bin/rmsnav.cgi
on the Windows OS they get IIS page not found - of course.
I'd like to be able to redirect this URL to http://www.differentserver/homepage.asp
How can I intercept the page not found error or is there a different more appropriate way in which to handle this issue?