用的二级目录:http://www.wdssmq.com/t/,话说可不可以直接用URL重写功能实现绑定子域名(伪静态是URL重写的用途之一)
由于是备忘,,所以只有下边的代码并不会起任何作用,更多请阅读下边的两篇相关文章:
--备忘 - IIS7配置web.config开启gzip压缩--
<rule name="iweibo" stopProcessing="true">
<match url="^t/(.+)/?$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="t/index.php?{R:1}" />
</rule>
订阅是个好习惯--http://feed.wdssmq.com--
