中药方大全小图标
您当前的位置:首页 > 其他 > 网站日记

帝国cms中的伪静态规则示范,iis7.0

提示: 阅读权限:公开  来源:网络  作者: 未知
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <handlers>
            <add name="FastCgi" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="D:php-7218-nts-Win32-VC15-x64php-cgi.exe" resourceType="Unspecified" requireAccess="Script" />
        </handlers>
        <defaultDocument>
            <files>
                <clear />
                <add value="index.php" />
                <add value="index.html" />
                <add value="index.htm" />
            </files>
        </defaultDocument>
<rewrite>
            <rules>
                <rule name="Imported Rule 1" 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}&amp;id={R:2}&amp;page={R:3}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 2" 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}&amp;page={R:2}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 3" 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}&amp;page={R:2}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 4" stopProcessing="true">
                    <match url="^tags-(etagid[0-9]+)-([0-9]+).html$" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false" />
                    </conditions>
                    <action type="Rewrite" url="/e/tags/index.php?tagname={R:1}&amp;page={R:2}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5" 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}&amp;classid={R:2}&amp;id={R:3}&amp;page={R:4}&amp;myorder={R:5}&amp;tempid={R:6}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 6" 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|htmsl|images|s|search|skin|t)($|/)" ignoreCase="false" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="/e/action/list.php?classid={R:1}&amp;page={R:2}" appendQueryString="false" />
                </rule>
                    <rule name="Imported Rule 8" stopProcessing="true">
                    <match url="^([0-9a-zA-Z]+)/([0-9]{10})/([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)($|/)" ignoreCase="false" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="/e/action/show.php?classid={R:1}&amp;id={R:3}&amp;page={R:4}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 7" 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)($|/)" ignoreCase="false" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="/e/action/show.php?classid={R:1}&amp;id={R:2}&amp;page={R:3}" appendQueryString="false" />
                </rule>
    
            </rules>
</rewrite>
    </system.webServer>
</configuration>


tags: 帝国
返回顶部
推荐资讯
视频:田纪钧讲关节不痛的秘密、膝关节拉筋法
视频:田纪钧讲关节不
白露到了,你还好吗?
白露到了,你还好吗?
尿疗与断食
尿疗与断食
给风疹反复发作女孩的药方(组图)
给风疹反复发作女孩的
相关文章
栏目更新
栏目热门
  1. 帝国cms全站搜索的分页格式如何修改-流程
  2. libreoffice7的命令大全
  3. 帝国cms插件之标题生成标题图片
  4. 帝国cms插件安装模板
  5. useragent两千条,爬虫专用
  6. 帝国cms插件如何兼容gbk和utf8
  7. 帝国cms插件之迅搜
  8. 帝国cms用户上传文件名的命名规则及修改方
  9. 帝国cms7.2函数大全
  10. 帝国cms代码片段备忘录