YUNUCMS IIS下伪静态规则

安装包根目录下web.config

<rewrite>
			<rules>
                <rule name="已导入的规则 1">
                    <match url="^(.*)\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$" ignoreCase="false" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="/404.htm" />
                </rule>
                <rule name="已导入的规则 2" stopProcessing="true">
                    <match url="^admin/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=admin/{R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 3" stopProcessing="true">
                    <match url="^admin/(.*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=admin/{R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 4" stopProcessing="true">
                    <match url="^config/(.*)$" ignoreCase="false" />
                    <action type="Rewrite" url="/404.htm" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 5" stopProcessing="true">
                    <match url="^m/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/index/index" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 6" stopProcessing="true">
                    <match url="^m/(.*)_(.*)/(.*)_(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/show/index&amp;etitle={R:3}&amp;area={R:1}&amp;cw={R:4}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 7" stopProcessing="true">
                    <match url="^m/(.*)_(.*)/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/show/index&amp;etitle={R:3}&amp;area={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 8" stopProcessing="true">
                    <match url="^m/search/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/search/index" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 9" stopProcessing="true">
                    <match url="^m/myform/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/myform/index" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 10" stopProcessing="true">
                    <match url="^m/captcha/(.*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/myform/captcha&amp;id={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 11" stopProcessing="true">
                    <match url="^m/(.*)_search/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/search/index&amp;area={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 12" stopProcessing="true">
                    <match url="^m/(.*)/(.*)_(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/show/index&amp;etitle={R:2}&amp;cw={R:3}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 13" stopProcessing="true">
                    <match url="^m/(.*)_tag/([\s\S]*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/tag/index&amp;title={R:2}&amp;area={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 14" stopProcessing="true">
                    <match url="^m/tag/([\s\S]*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/tag/index&amp;title={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 15" stopProcessing="true">
                    <match url="^m/(.*)/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/show/index&amp;etitle={R:2}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 16" stopProcessing="true">
                    <match url="^m/(.*)_(.*)/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/category/index&amp;ctitle={R:2}&amp;area={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 17" stopProcessing="true">
                    <match url="^m/(.*)_(.*)/page/(.*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/category/index&amp;ctitle={R:2}&amp;area={R:1}&amp;page={R:3}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 18" stopProcessing="true">
                    <match url="^m/(.*)/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/category/index&amp;ctitle={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 19" stopProcessing="true">
                    <match url="^m/(.*)/page/(.*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/category/index&amp;ctitle={R:1}&amp;page={R:2}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 20" stopProcessing="true">
                    <match url="^m/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=wap/index/index&amp;area={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 22" stopProcessing="true">
                    <match url="^statics/ueditor/dialogs/(.*)/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="statics/ueditor/dialogs/{R:1}/{R:2}.html" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 23" stopProcessing="true">
                    <match url="^index(.*)/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/index/index/{R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 24" stopProcessing="true">
                    <match url="^(.*)_(.*)/(.*)_(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/show/index&amp;etitle={R:3}&amp;area={R:1}&amp;cw={R:4}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 25" stopProcessing="true">
                    <match url="^(.*)_(.*)/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/show/index&amp;etitle={R:3}&amp;area={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 26" stopProcessing="true">
                    <match url="^myform/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/myform/index" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 27" stopProcessing="true">
                    <match url="^(.*)_myform/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/myform/index&amp;area={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 28" stopProcessing="true">
                    <match url="^captcha/(.*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/myform/captcha&amp;id={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 29" stopProcessing="true">
                    <match url="^(.*)_captcha/(.*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/myform/captcha&amp;area={R:1}&amp;id={R:2}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 30" stopProcessing="true">
                    <match url="^search/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/search/index" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 31" stopProcessing="true">
                    <match url="^search/page/(.*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/search/index&amp;page={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 32" stopProcessing="true">
                    <match url="^(.*)_search/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/search/index&amp;area={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 33" stopProcessing="true">
                    <match url="^(.*)/(.*)_(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/show/index&amp;etitle={R:2}&amp;cw={R:3}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 34" stopProcessing="true">
                    <match url="^(.*)/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/show/index&amp;etitle={R:2}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 35" stopProcessing="true">
                    <match url="^(.*)_tag/([\s\S]*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/tag/index&amp;title={R:2}&amp;area={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 36" stopProcessing="true">
                    <match url="^tag/([\s\S]*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/tag/index&amp;title={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 37" stopProcessing="true">
                    <match url="^(.*)_(.*)/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/category/index&amp;ctitle={R:2}&amp;area={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 38" stopProcessing="true">
                    <match url="^(.*)_(.*)/page/(.*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/category/index&amp;ctitle={R:2}&amp;area={R:1}&amp;page={R:3}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 39" stopProcessing="true">
                    <match url="^(.*)/$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/category/index&amp;ctitle={R:1}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 40" stopProcessing="true">
                    <match url="^(.*)/page/(.*)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/category/index&amp;ctitle={R:1}&amp;page={R:2}" appendQueryString="true" />
                </rule>
                <rule name="已导入的规则 41" stopProcessing="true">
                    <match url="^(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?s=index/index/index&amp;area={R:1}" appendQueryString="true" />
                </rule>	
		    </rules>
		</rewrite>

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

免责声明:本文系转载自互联网,版权归原作者所有;旨在传递信息,不代表中站源码网的观点和立场。如有侵权,请联系我们删除!qin@ceccz.com

中站源码网-网络情报局 云优CMS教程与问题 YUNUCMS IIS下伪静态规则 https://web.ceccz.com/cmsjc/yywt/3406.html

中站网

常见问题
  • 本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
查看详情
  • 最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议换浏览器下载!
查看详情

相关文章

评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务

 
YUNUCMS IIS下伪静态规则-海报

分享本文封面