Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2006-06-12
1
Medium Priority
?
530 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
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

636 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