帝国CMS伪静态规则(windows server iis10)


<?xml version="1.0" ?>
<rules>
	<rule name="listinfo_rewrite">
		<match url="^(.*/)*listinfo-(.+?)-(.+?).html\?*(.*)$"/>
		<conditions logicalGrouping="MatchAll" trackAllCaptures="false"/>
		<action type="Rewrite" url="{R:1}/e/action/ListInfo/index.php\?classid={R:2}&amp;page={R:3}"/>
	</rule>
	<rule name="showinfo_rewrite">
		<match url="^(.*/)*showinfo-(.+?)-(.+?)-(.+?).html\?*(.*)$"/>
		<conditions logicalGrouping="MatchAll" trackAllCaptures="false"/>
		<action type="Rewrite" url="{R:1}/e/action/ShowInfo.php\?classid={R:2}&amp;id={R:3}&amp;page={R:4}"/>
	</rule>
	<rule name="infotype_rewrite">
		<match url="^(.*/)*infotype-(.+?)-(.+?).html\?*(.*)$"/>
		<conditions logicalGrouping="MatchAll" trackAllCaptures="false"/>
		<action type="Rewrite" url="{R:1}/e/action/InfoType/index.php\?ttid={R:2}&amp;page={R:3}"/>
	</rule>
	<rule name="tags_rewrite">
		<match url="^(.*/)*tags-(.+?)-(.+?).html\?*(.*)$"/>
		<conditions logicalGrouping="MatchAll" trackAllCaptures="false"/>
		<action type="Rewrite" url="{R:1}/e/tags/index.php\?tagname={R:2}&amp;page={R:3}"/>
	</rule>
	<rule name="comment_rewrite">
		<match url="^(.*/)*comment-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)-(.+?).html\?*(.*)$"/>
		<conditions logicalGrouping="MatchAll" trackAllCaptures="false"/>
		<action type="Rewrite" url="{R:1}/e/pl/index.php\?doaction={R:2}&amp;={R:3}&amp;={R:4}&amp;page={R:5}&amp;myorder={R:6}&amp;tempid={R:7}"/>
	</rule>
</rules>

本文地址: