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

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top