Last post Mar 24, 2011 04:34 AM by rstrahl
Mar 15, 2011 07:07 PM|susan8|LINK
Our website used to be a php website, now everything changed to .net, but the customer still want to keep the original php Request url. I want to know How to set Handler mapping on IIS7 to redirect .php file to .aspx file ? In more details, when you click
handler mappings on IIS 7.0, what kind of hanlder should you add (add managed handler or add script map or add wild card script map or add module mapping) to redirect .php file to .aspx file? Thanks.
Mar 24, 2011 04:34 AM|rstrahl|LINK
You should just copy the .aspx handler settings and apply them to the .php extension.
The one you want most likely for IIS 7 (or 7.5) is the PageHandlerFactory-Integrated handler which points at:
Make sure that your AppPool is set to Integrated mode (which is the default) when you set the application pool for the site or virtual.
+++ Rick ---