urlrewrite 伪静态 rule 匹配 高手看看

    <rule>
    	<from>^/goods/listGoods_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_(.*)_(.*)_(.*)_([0-9]*)_(.*)_(.*)_(.*)_(.*)_brandId_([0-9]*)$</from>
    	<to type="forward">/goods/listGoods.action?brandId=$14&amp;order=$2&amp;c0=$3&amp;c2=$4&amp;c3=$5&amp;p11=$6&amp;p12=$7&amp;p13=$8&amp;t=$9&amp;p14=$10&amp;p16=$11&amp;p17=$12&amp;p18=$13</to>
    </rule>
    <rule>
    	<from>^/goods/listGoods_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_(.*)_(.*)_(.*)_([0-9]*)_(.*)_(.*)_(.*)_(.*)_c0_([0-9]*)$</from>
    	<to type="forward">/goods/listGoods.action?brandId=$1&amp;order=$2&amp;c0=$14&amp;c2=$4&amp;c3=$5&amp;p11=$6&amp;p12=$7&amp;p13=$8&amp;t=$9&amp;p14=$10&amp;p16=$11&amp;p17=$12&amp;p18=$13</to>
    </rule>
    <rule>
    	<from>^/goods/listGoods_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_(.*)_(.*)_(.*)_([0-9]*)_(.*)_(.*)_(.*)_(.*)_c2_([0-9]*)$</from>
    	<to type="forward">/goods/listGoods.action?brandId=$1&amp;order=$2&amp;c0=$3&amp;c2=$14&amp;c3=$5&amp;p11=$6&amp;p12=$7&amp;p13=$8&amp;t=$9&amp;p14=$10&amp;p16=$11&amp;p17=$12&amp;p18=$13</to>
    </rule>
    <rule>
    	<from>^/goods/listGoods_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_(.*)_(.*)_(.*)_([0-9]*)_(.*)_(.*)_(.*)_(.*)_c3_([0-9]*)$</from>
    	<to type="forward">/goods/listGoods.action?brandId=$1&amp;order=$2&amp;c0=$3&amp;c2=$4&amp;c3=$14&amp;p11=$6&amp;p12=$7&amp;p13=$8&amp;t=$9&amp;p14=$10&amp;p16=$11&amp;p17=$12&amp;p18=$13</to>
    </rule>
    <rule>
    	<from>^/goods/listGoods_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_(.*)_(.*)_(.*)_([0-9]*)_(.*)_(.*)_(.*)_(.*)_p11_(.*)$</from>
    	<to type="forward">/goods/listGoods.action?brandId=$1&amp;order=$2&amp;c0=$3&amp;c2=$4&amp;c3=$5&amp;p11=$14&amp;p12=$7&amp;p13=$8&amp;t=$9&amp;p14=$10&amp;p16=$11&amp;p17=$12&amp;p18=$13</to>
    </rule>
    <rule>
    	<from>^/goods/listGoods_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_(.*)_(.*)_(.*)_([0-9]*)_(.*)_(.*)_(.*)_(.*)_p14_(.*)$</from>
    	<to type="forward">/goods/listGoods.action?brandId=$1&amp;order=$2&amp;c0=$3&amp;c2=$4&amp;c3=$5&amp;p11=$6&amp;p12=$7&amp;p13=$8&amp;t=$9&amp;p14=$14&amp;p16=$11&amp;p17=$12&amp;p18=$13</to>
    </rule>
    <rule>
    	<from>^/goods/listGoods_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_(.*)_(.*)_(.*)_([0-9]*)_(.*)_(.*)_(.*)_(.*)_p16_(.*)$</from>
    	<to type="forward">/goods/listGoods.action?brandId=$1&amp;order=$2&amp;c0=$3&amp;c2=$4&amp;c3=$5&amp;p11=$6&amp;p12=$7&amp;p13=$8&amp;t=$9&amp;p14=$10&amp;p16=$14&amp;p17=$12&amp;p18=$13</to>
    </rule>
    <rule>
    	<from>^/goods/listGoods_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_(.*)_(.*)_(.*)_([0-9]*)_(.*)_(.*)_(.*)_(.*)_p17_(.*)$</from>
    	<to type="forward">/goods/listGoods.action?brandId=$1&amp;order=$2&amp;c0=$3&amp;c2=$4&amp;c3=$5&amp;p11=$6&amp;p12=$7&amp;p13=$8&amp;t=$9&amp;p14=$10&amp;p16=$11&amp;p17=$14&amp;p18=$13</to>
    </rule>
    <rule>
    	<from>^/goods/listGoods_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_(.*)_(.*)_(.*)_([0-9]*)_(.*)_(.*)_(.*)_(.*)_p18_(.*)$</from>
    	<to type="forward">/goods/listGoods.action?brandId=$1&amp;order=$2&amp;c0=$3&amp;c2=$4&amp;c3=$5&amp;p11=$6&amp;p12=$7&amp;p13=$8&amp;t=$9&amp;p14=$10&amp;p16=$11&amp;p17=$12&amp;p18=$14</to>
    </rule>
    <rule>
    	<from>^/goods/listGoods_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)_(.*)_(.*)_(.*)_([0-9]*)_(.*)_(.*)_(.*)_(.*)_order_([0-9]*)$</from>
    	<to type="forward">/goods/listGoods.action?brandId=$1&amp;order=$14&amp;c0=$3&amp;c2=$4&amp;c3=$5&amp;p11=$6&amp;p12=$7&amp;p13=$8&amp;t=$9&amp;p14=$10&amp;p16=$11&amp;p17=$12&amp;p18=$13</to>
    </rule>

 urlrewrite 伪静态 rule  匹配 高手看看

能不能改成一个rule,

这样子太多了,

你可能感兴趣的:(urlrewrite)