redirect missing php page to aspx page - CustomErrors won't work?

Discussion in 'ASP .Net' started by Les Caudle, Oct 31, 2006.

  1. Les Caudle

    Les Caudle Guest

    I can set up CustomErrors to redirect a missing aspx page to Register.aspx like:

    <customErrors mode="RemoteOnly" defaultRedirect="ErrorPage.aspx">
    <error statusCode="404" redirect="Register.aspx"/>
    </customErrors>

    I've got a client who needs a missing php page to redirect to Register.aspx.

    This gets caught by IIS, not ASP, so instead of redirecting, I get a standard
    404 error msg.

    What is the simplest way to redirect this?
    --
    Thanks in advance, Les Caudle
     
    Les Caudle, Oct 31, 2006
    #1
    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. John Clark

    customErrors redirect error analysis

    John Clark, Jun 22, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    366
    John Clark
    Jun 22, 2005
  2. wardy
    Replies:
    0
    Views:
    366
    wardy
    Mar 20, 2007
  3. Rajive Narain
    Replies:
    0
    Views:
    1,988
    Rajive Narain
    Sep 18, 2009
  4. Ivan Smith

    Windows authentication Redirect /CustomErrors Issue

    Ivan Smith, May 19, 2004, in forum: ASP .Net Security
    Replies:
    2
    Views:
    210
    Ivan Smith
    Jun 2, 2004
  5. Larry Neylon

    Exclude Error Status 403 from customErrors Redirect

    Larry Neylon, Jun 10, 2008, in forum: ASP .Net Security
    Replies:
    2
    Views:
    223
    Larry Neylon
    Jun 12, 2008
Loading...

Share This Page