最后阶段了要进行伪静态设置 遇到个问题
按官方http://document.thinkphp.cn/manual_3_2.html#url_rewrite
在IIS的高版本下面可以配置web.Config,在中间添加rewrite节点:
<rewrite>
<rules>
<rule name="OrgPage" stopProcessing="true">
<match url="^(.*)$" />
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^(.*)$" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" />
</rule>
</rules>
</rewrite>发现除了主页其它页都没有了CSS和JS在网上看了些资料 大致是说CSS和JS路径也被处理了 要配置例外
查了半天资料也没找到如何配置例外 特来坛里求教!
最佳答案