<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="已导入的规则 1">
                    <match url="^html/([0-9A-Za-z_\-/]*)/(index\.html)?$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?c=category&amp;dir={R:1}&amp;{QUERY_STRING}" appendQueryString="false" />
                </rule>
                <rule name="已导入的规则 2">
                    <match url="^html/([0-9A-Za-z_\-/]*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?c=category&amp;dir={R:1}&amp;{QUERY_STRING}" appendQueryString="false" />
                </rule>
                <rule name="已导入的规则 3">
                    <match url="^html/([0-9A-Za-z_\-/]*)/index-([0-9]+)\.html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?c=category&amp;dir={R:1}&amp;page={R:2}&amp;{QUERY_STRING}" appendQueryString="false" />
                </rule>
                <rule name="已导入的规则 4">
                    <match url="^html/([0-9A-Za-z_\-/]*)/([0-9]+)\.html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?c=show&amp;id={R:2}&amp;{QUERY_STRING}" appendQueryString="false" />
                </rule>
                <rule name="已导入的规则 5">
                    <match url="^html/([0-9A-Za-z_\-/]*)/([0-9]+)-([0-9]+)\.html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?c=show&amp;id={R:2}&amp;page={R:3}&amp;{QUERY_STRING}" appendQueryString="false" />
                </rule>
                <rule name="已导入的规则 6">
                    <match url="^([0-9A-Za-z_\-/]*)/search/(.+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s={R:1}&amp;c=search&amp;rewrite={R:2}&amp;{QUERY_STRING}" appendQueryString="false" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
