microsoft.public.cmserver.general
  Home FAQ Contact Sign in
microsoft.public.cmserver.general only
 
Advanced search
May 2008
motuwethfrsasuw
   1234 18
567891011 19
12131415161718 20
19202122232425 21
262728293031  22
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
microsoft ... general Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Custom File Not Found 404 not being reached.         


Author: Confused Richi
Date: May 6, 2008 05:10

Hi all

I have created a web page to handle 404 File not found on my MCMS Website.
It is set to be called from the IIS and also from web.config.

It works perfectly fine when I use the server or local host name, e.g.:
http://localhost/richardsite/nonexistant.aspx
http://localhost/richardsite/nonexistant
(nonexistant is really non-existant!).

Problem is when I make an error through the header hostname
"www.richardsite.org" it fails. This hostname is set in the IIS - Default
Web Site > Properties > Web Site > Advanced. It is also named this in the
CMS!

e.g. A) www.richardsite.org/nonexist.asp ------ shows up with a default IIS
or CMS 404.
but when I use:
B) www.richardsite.org/richardsite/nonexist.asp ------ it shows up correctly
with custom 404.
Show full article (1.05Kb)
5 Comments