Solved

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

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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 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

18 Experts available now in Live!

Get 1:1 Help Now