Re: Redirect Broken Links?

Sam Akhtar ( (no email) )
Fri, 6 Jun 1997 18:21:17 -0400

>That HTMLEx is a pretty cool program, I have one question for you..
How did
>you set up your IIS so that it sends that same HTML file for
everything
>bogus.. (btw, I tried a few other ficticious locations on your site,
works
>everywhere.. pretty cool!)

http://www.riteh.hr/HTMLEx/default.htm has manuals and stuff, BUT, if I
remember correctly, the way it basically works is:

Use the following key (DISCLAIMER: Make sure your read the docs on this
puppy, also available in HTML format at http://www.riteh.hr/HTMLEx/2/Man
ual.htm and backup your registry accordingly, blah, balh, blah)

S404Reply REG_SZ none

Contains the fully qualified drive:\path\name.ext of the htm file which
will be transferred to client in a case of '404 Not Found Error'.

Ex, call it error.html put it under c:\inetpub\wwwroot\ and all the
associated graphics, etc and make sure all the links are local then
anytime a 404 results, on any of your virtual webs, you get that
error... For example, try http://www.grncross.com/bogus.html a personl
site I run off our servers... cool, huh. You can use the D404 reply,
but that assumes the error.html and all the associated graphics, etc.
are in the same\relevant directory... on a site with multiple
directories, this may not be as feasable...

Let me know if that made sense or...

Sam Akhtar VP, Operations & Engineering
IBIS, Inc. http://www.ibisnet.net/
NT-ISP FrontPage, ASP, Java and more!
"We do Web, we do 'Net... we even do windows!"

PS BTW, I believe we're both local (we're in Hillsborough County,
FL)... heh, beers & share war stories sometimes?