You cannot use the IIS Rewrite action with PHP as the primary technology. You would have to do a redirect using the full absolute path so that the request would hit our load balancer and be directed to Apache.
1 2 3 4 5 6 7 8 |
<rewrite> <rules> <rule name="Migrate to PHP" enabled="true" stopProcessing="true"> <match url="^test/([_0-9a-z-]+).aspx"/> <action type="Redirect" url="http://domain.com/{R:1}.php" redirectType="Permanent"/> </rule> </rules> </rewrite> |
Recent Comments