|
|
|
date: Tue, 6 May 2008 05:10:04 -0700,
group: microsoft.public.cmserver.general
back
Re: Custom File Not Found 404 not being reached.
I think I discovered the root problem finally but still need some advice on
what to do next (due to my limited amount of knowledge on almost everything!).
On the DNS Server (I have never seen this), the address www.richardsite.org
is directly pointing to the CMS web servers, "live-server-cms".
So, when I request the website, www.richardsite.org, it is actually calling
up the "live-server-cms" - the CMS on that server is then looking up the
channel "richardsite" which of course is then able to load with the correct
site.
It seems to fail on error page handling 404 because
www.richardsite.org represents "live-server-cms" server and NOT the actual
sub-directory hence the reason why:
www.richardsite.org/nonexistant ------ fails as the "Default Website 404" is
brought up.
www.richardsite.org/richardsite/nonexistant --- works as this is withing the
actual subdirectory.
My question is now, does anyone know if its possible to configure the DNS to
point to the subdirectory instead of just a server?
Also, is an alternative way around this is to create a Default Web Site 404
which handles appropriate handling to a more correct 404 Error page?
Many thanks
"Confused Richi" wrote:
> Hi Stefan,
>
> Yes it is configured at sub-directory level and it is directly accessing the
> IIS (no proxy involved).
>
> Thanks for your prompt reply again.
>
> Richard
>
> "Stefan GoÃner [MSFT]" wrote:
>
> > Hi Richi,
> >
> > did you configure the 404 page in IIS on the website level of your
> > www.richardsite.org website?
> > Based on what you listed below it seems that you configured the custom error
> > message on the subdirectory "richardsite".
> >
> > In addition: is this request going directly to IIS or is there a publishing
> > proxy server infront?
> >
> > Cheers,
> > Stefan
> >
> >
> > "Confused Richi" wrote in message
> > news:22842E90-533C-4B1F-9303-6773E328725E@microsoft.com...
> > > 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.
> > >
> > > When (A) is used, it seems to be calling a default IIS or CMS 404, could
> > > it
> > > be that CMS is intervening and so the IIS is not picking it up ? Is there
> > > anyway around this or am I simply setting the error handling in the wrong
> > > area?
> > >
> > > Many many thanks for assisting.
> > > Richard Leung
> >
> >
> >
date: Tue, 6 May 2008 08:59:01 -0700
author: Confused Richi
Re: Custom File Not Found 404 not being reached.
Hi Richi,
no this is not possible.
But you can configure the 404 page on the root of the website rather than
the subdirectory.
That should address your issue.
Cheers,
Stefan
"Confused Richi" wrote in message
news:B2A76AC7-505F-47EA-BF29-27D85DCA3233@microsoft.com...
>I think I discovered the root problem finally but still need some advice on
> what to do next (due to my limited amount of knowledge on almost
> everything!).
>
> On the DNS Server (I have never seen this), the address
> www.richardsite.org
> is directly pointing to the CMS web servers, "live-server-cms".
> So, when I request the website, www.richardsite.org, it is actually
> calling
> up the "live-server-cms" - the CMS on that server is then looking up the
> channel "richardsite" which of course is then able to load with the
> correct
> site.
> It seems to fail on error page handling 404 because
> www.richardsite.org represents "live-server-cms" server and NOT the actual
> sub-directory hence the reason why:
> www.richardsite.org/nonexistant ------ fails as the "Default Website 404"
> is
> brought up.
> www.richardsite.org/richardsite/nonexistant --- works as this is withing
> the
> actual subdirectory.
>
> My question is now, does anyone know if its possible to configure the DNS
> to
> point to the subdirectory instead of just a server?
> Also, is an alternative way around this is to create a Default Web Site
> 404
> which handles appropriate handling to a more correct 404 Error page?
>
> Many thanks
>
>
> "Confused Richi" wrote:
>
>> Hi Stefan,
>>
>> Yes it is configured at sub-directory level and it is directly accessing
>> the
>> IIS (no proxy involved).
>>
>> Thanks for your prompt reply again.
>>
>> Richard
>>
>> "Stefan Goßner [MSFT]" wrote:
>>
>> > Hi Richi,
>> >
>> > did you configure the 404 page in IIS on the website level of your
>> > www.richardsite.org website?
>> > Based on what you listed below it seems that you configured the custom
>> > error
>> > message on the subdirectory "richardsite".
>> >
>> > In addition: is this request going directly to IIS or is there a
>> > publishing
>> > proxy server infront?
>> >
>> > Cheers,
>> > Stefan
>> >
>> >
>> > "Confused Richi" wrote in
>> > message
>> > news:22842E90-533C-4B1F-9303-6773E328725E@microsoft.com...
>> > > 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.
>> > >
>> > > When (A) is used, it seems to be calling a default IIS or CMS 404,
>> > > could
>> > > it
>> > > be that CMS is intervening and so the IIS is not picking it up ? Is
>> > > there
>> > > anyway around this or am I simply setting the error handling in the
>> > > wrong
>> > > area?
>> > >
>> > > Many many thanks for assisting.
>> > > Richard Leung
>> >
>> >
>> >
date: Tue, 6 May 2008 18:25:13 +0200
author: Stefan Go?ner [MSFT]
Re: Custom File Not Found 404 not being reached.
Hi Stefan,
Thanks for all your help.
In that case, I am going to create a page for the Default Website that
examines the requested URL and redirect respectively - this is because I have
a number of different websites that are branded in different ways under the
"Defaul Web Site".
:(
Rich
"Stefan GoÃner [MSFT]" wrote:
> Hi Richi,
>
> no this is not possible.
> But you can configure the 404 page on the root of the website rather than
> the subdirectory.
> That should address your issue.
>
> Cheers,
> Stefan
>
>
> "Confused Richi" wrote in message
> news:B2A76AC7-505F-47EA-BF29-27D85DCA3233@microsoft.com...
> >I think I discovered the root problem finally but still need some advice on
> > what to do next (due to my limited amount of knowledge on almost
> > everything!).
> >
> > On the DNS Server (I have never seen this), the address
> > www.richardsite.org
> > is directly pointing to the CMS web servers, "live-server-cms".
> > So, when I request the website, www.richardsite.org, it is actually
> > calling
> > up the "live-server-cms" - the CMS on that server is then looking up the
> > channel "richardsite" which of course is then able to load with the
> > correct
> > site.
> > It seems to fail on error page handling 404 because
> > www.richardsite.org represents "live-server-cms" server and NOT the actual
> > sub-directory hence the reason why:
> > www.richardsite.org/nonexistant ------ fails as the "Default Website 404"
> > is
> > brought up.
> > www.richardsite.org/richardsite/nonexistant --- works as this is withing
> > the
> > actual subdirectory.
> >
> > My question is now, does anyone know if its possible to configure the DNS
> > to
> > point to the subdirectory instead of just a server?
> > Also, is an alternative way around this is to create a Default Web Site
> > 404
> > which handles appropriate handling to a more correct 404 Error page?
> >
> > Many thanks
> >
> >
> > "Confused Richi" wrote:
> >
> >> Hi Stefan,
> >>
> >> Yes it is configured at sub-directory level and it is directly accessing
> >> the
> >> IIS (no proxy involved).
> >>
> >> Thanks for your prompt reply again.
> >>
> >> Richard
> >>
> >> "Stefan GoÃner [MSFT]" wrote:
> >>
> >> > Hi Richi,
> >> >
> >> > did you configure the 404 page in IIS on the website level of your
> >> > www.richardsite.org website?
> >> > Based on what you listed below it seems that you configured the custom
> >> > error
> >> > message on the subdirectory "richardsite".
> >> >
> >> > In addition: is this request going directly to IIS or is there a
> >> > publishing
> >> > proxy server infront?
> >> >
> >> > Cheers,
> >> > Stefan
> >> >
> >> >
> >> > "Confused Richi" wrote in
> >> > message
> >> > news:22842E90-533C-4B1F-9303-6773E328725E@microsoft.com...
> >> > > 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.
> >> > >
> >> > > When (A) is used, it seems to be calling a default IIS or CMS 404,
> >> > > could
> >> > > it
> >> > > be that CMS is intervening and so the IIS is not picking it up ? Is
> >> > > there
> >> > > anyway around this or am I simply setting the error handling in the
> >> > > wrong
> >> > > area?
> >> > >
> >> > > Many many thanks for assisting.
> >> > > Richard Leung
> >> >
> >> >
> >> >
>
>
>
date: Tue, 6 May 2008 09:37:00 -0700
author: Confused Richi
|
|