Solved

How to redirect/intercept a url when the requested page does not exist.

Posted on 2006-06-12
1
501 Views
Last Modified: 2008-01-16
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?

Thanks.
0
Comment
Question by:msjodin
1 Comment
 
LVL 9

Accepted Solution

by:
raopsn earned 250 total points
Comment Utility
Under IIS properties, you can map 404 (Page not found) to point to your homepage.asp
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to dynamically set the form action using jQuery.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now