Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > redirect missing php page to aspx page - CustomErrors won't work?

Thread Tools

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

Les Caudle
Posts: n/a
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"/>

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
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Training Institute In Delhi, Live Projects on PHP. Short TermPHP Courses, PHP Scripts, PHP Training with Live Projects. Rajive Narain Java 0 09-18-2009 10:47 AM
Response.redirect does not redirect from .aspx page =?Utf-8?B?VHJveQ==?= ASP .Net 3 10-15-2008 09:07 PM
customErrors redirect gives blank page wardy ASP .Net 0 03-20-2007 05:27 PM
customErrors redirect error analysis John Clark ASP .Net 0 06-22-2005 03:01 PM
Windows authentication Redirect /CustomErrors Issue Ivan Smith ASP .Net Security 2 06-02-2004 03:36 AM