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

L

Les Caudle

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?
 

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

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top