Catching 404 errors at Application Level

  • Thread starter Thread starter JJ
  • Start date Start date
Mine will allow me to redirect 404 errors - i.e. edit which of my pages gets
displayed for iis 404 errors for that site. I'd also hoped however, that I
could direct all these things to the same error.aspx page. Clearly not, if
that page uses relative links in any way.

Thanks,
JJ
 
re:
!> Many 3rd-party ISPs don't permit that, though...

For good reason, too. That changes IIS's 404 page for all IIS apps.

That's only implementable ( is that a word ? ) when you control the server
and have a single domain on the server, or if any other domains on the
server can live with the page as modified.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
Many 3rd-party ISPs don't permit that, though...

For good reason, too. That changes IIS's 404 page for all IIS apps.

Are you sure about that...?
That's only implementable ( is that a word ? ) when you control the server
and have a single domain on the server, or if any other domains on the
server can live with the page as modified.

Just go into the Error pages section of each virtual directory and modify as
required...
 
re:
!> Just go into the Error pages section of each virtual directory and modify as required.

You mean :
"just have *the ISP* go into the Error pages section of each virtual directory and modify as
required"

;-)

The client doesn't have that ability.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
re:
!> Just go into the Error pages section of each virtual directory and
modify as required.

You mean :
"just have *the ISP* go into the Error pages section of each virtual
directory and modify as required"

;-)

The client doesn't have that ability.

My ISP does, though they charge for each custom error page...
 
Back
Top