YUNUCMS IIS下僞靜态規則

發(fā)布日期:2017-10-18 作者:雲優CMS 人氣:6133

安裝包根目錄下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>


相關新聞

返回頂部

撥打電話
在線咨詢
掃碼添加微信咨詢産品相關問題

全國(guó)統一服務電話: 0511-85995956