how to redirect 404 error to custom error page?

Discussion in 'ASP General' started by apngss@yahoo.com, Oct 14, 2005.

  1. Guest

    I want to know how to redirect 404 error to custom error page? For
    example, if test.html doesn't exist and the user type
    http://www.myserver.com/test.html, it will show my custom error page,
    instead of the default "The page cannot be found" error page generated
    by the web browser.


    Please advise. thanks!!
    , Oct 14, 2005
    #1
    1. Advertising

  2. Hello,

    This article explains how to configure custom error messages:

    http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/iis/tips/custerr.mspx


    --
    Regards,
    Kristofer Gafvert (IIS MVP)
    http://www.gafvert.info/iis/ - IIS Related Info


    wrote:

    >I want to know how to redirect 404 error to custom error page? For
    >example, if test.html doesn't exist and the user type
    >http://www.myserver.com/test.html, it will show my custom error page,
    >instead of the default "The page cannot be found" error page generated
    >by the web browser.
    >
    >
    >Please advise. thanks!!
    Kristofer Gafvert [MVP], Oct 14, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jonathan Folland
    Replies:
    2
    Views:
    1,615
    Jonathan Folland
    Mar 17, 2005
  2. Pat Carden
    Replies:
    7
    Views:
    6,737
    Juan T. Llibre
    Nov 20, 2005
  3. Replies:
    3
    Views:
    974
    HalcyonWild
    Oct 14, 2005
  4. Danny

    custom redirect 404 page question

    Danny, Oct 2, 2004, in forum: ASP General
    Replies:
    0
    Views:
    120
    Danny
    Oct 2, 2004
  5. Sujan
    Replies:
    1
    Views:
    125
Loading...

Share This Page