Catching 404 errors at Application Level

J

JJ

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
 
J

Juan T. Llibre

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/
======================================
 
M

Mark Rae

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...
 
J

Juan T. Llibre

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/
======================================
 
M

Mark Rae

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top