<?xml version="1.0" ?> <rules> <clear/> <rule name="http_toHttps" stopProcessing="true"> <match url="(.*)"/> <conditions> <add input="{HTTPS}" pattern="off" ignoreCase="true"/> </conditions> <action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}"/> </rule> <rule name="已导入的规则 1_rewrite" stopProcessing="true"> <match url="^showinfo-([0-9]+)-([0-9]+)-([0-9]+).html$"/> <conditions logicalGrouping="MatchAll"> <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false"/> </conditions> <action type="Rewrite" url="/e/action/ShowInfo.php?classid={R:1}&id={R:2}&page={R:3}" appendQueryString="false"/> </rule> <rule name="已导入的规则 2_rewrite" stopProcessing="true"> <match url="^listinfo-([0-9]+)-([0-9]+).html$"/> <conditions logicalGrouping="MatchAll"> <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false"/> </conditions> <action type="Rewrite" url="/e/action/ListInfo/index.php?classid={R:1}&page={R:2}" appendQueryString="false"/> </rule> <rule name="已导入的规则 3_rewrite" stopProcessing="true"> <match url="^infotype-([0-9]+)-([0-9]+).html$"/> <conditions logicalGrouping="MatchAll"> <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false"/> </conditions> <action type="Rewrite" url="/e/action/InfoType/index.php?ttid={R:1}&page={R:2}" appendQueryString="false"/> </rule> <rule name="已导入的规则 4_rewrite" stopProcessing="true"> <match url="^guanjianci-(.+?)-([0-9]+).html$"/> <conditions logicalGrouping="MatchAll"> <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false"/> </conditions> <action type="Rewrite" url="/e/tags/index.php?tagid={R:1}&page={R:2}" appendQueryString="false"/> </rule> <rule name="已导入的规则 5_rewrite" stopProcessing="true"> <match url="^comment-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$"/> <conditions logicalGrouping="MatchAll"> <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false"/> </conditions> <action type="Rewrite" url="/e/pl/index.php?doaction={R:1}&classid={R:2}&id={R:3}&page={R:4}&myorder={R:5}&tempid={R:6}" appendQueryString="false"/> </rule> <rule name="已导入的规则 6_rewrite" stopProcessing="true"> <match url="^([0-9a-zA-Z-/]+)/(|index.html|index_[0-9]+.html)$"/> <conditions logicalGrouping="MatchAll"> <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false"/> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true"/> <add input="{R:1}" pattern="^(d/|e/|html/|images/|s/|search/|skin/|t/|ad)" ignoreCase="false" negate="true"/> </conditions> <action type="Rewrite" url="/e/action/list.php?classid={R:1}&page={R:2}" appendQueryString="false"/> </rule> <rule name="已导入的规则 7_rewrite" stopProcessing="true"> <match url="^([0-9a-zA-Z-/]+)/([0-9a-zA-Z]+)([_0-9]*).html$"/> <conditions logicalGrouping="MatchAll"> <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false"/> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true"/> <add input="{R:1}" pattern="^(d/|e/|html/|images/|s/|search/|skin/|t/|ad)" ignoreCase="false" negate="true"/> </conditions> <action type="Rewrite" url="/e/action/show.php?classid={R:1}&id={R:2}&page={R:3}" appendQueryString="false"/> </rule> </rules>