URL Rewrite on IIS

IIS URL Rewrite Module: http://www.iis.net/downloads/microsoft/url-rewrite

Example:

URL example: sman/merchant

Rewrite URL: sman/index.php/merchant

Import from Apache rules:

https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/importing-apache-modrewrite-rules

Reference:

  1. http://www.cnblogs.com/lixyvip/archive/2009/03/02/1401651.html

Snaps:

rewrite_1

 

 

rewrite_1

^(wsdc)\/(?!index\.php|images|robots\.txt|assets|uploads|$)(.+|$)

./{R:1}/index.php/{R:2}