Solved

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

Posted on 2006-06-12
1
504 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo‚Ķ
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

813 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

10 Experts available now in Live!

Get 1:1 Help Now