日期:2014-05-16  浏览次数:20479 次

IIS URL REWRITE 问题
本帖最后由 a308981840 于 2014-04-03 18:47:45 编辑
想用IIS的重写模块实现泛解析域名  

<rewrite>
            <rules>
                <clear />
                <rule name="newRe" stopProcessing="true">
                    <match url="http://([a-zA-Z|0-9]+).domain.com" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                    <action type="Rewrite" url="http://www.domain.com/{R:1}/index.html" logRewrittenUrl="true" />
                </rule>
            </rules>
        </rewrite>

但这个规则似乎并没有生效
------解决方案--------------------
以前玩过,现在不玩这了,太久也忘了,给你点资料

http://wenku.baidu.com/link?url=wegc-XQT9R21XGwMWMPXYSjVc9ouSUCq21onhFIWTQU0DnK6221wsJcIJpGv98lSPxaIyXIOAhEZNtE-PUUrflBMQaOh2eieEoOL7ybc7h_