?
Solved

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

Posted on 2006-06-12
1
Medium Priority
?
536 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 1000 total points
ID: 16886636
Under IIS properties, you can map 404 (Page not found) to point to your homepage.asp
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month17 days, 2 hours left to enroll

864 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