YII 伪静态 IIS7 方法 web.config
时间:2014-05-01 14:06:16
收藏:0
阅读:571
YII 伪静态 IIS7 方法 web.config
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 |
<?xml version="1.0"
encoding="UTF-8"?><configuration><system.webServer><rewrite><rules> <rule name="Main Rule"
stopProcessing="true"> <match url="^(.*/)*filename"/> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}"
matchType = "IsFile"
negate="true"/> <add input="{REQUEST_FILENAME}"
matchType = "IsDirectory"
negate="true"/> </conditions> <action type="Rewrite"
url="/xiweicrm/index.php"/> </rule></rules></rewrite></system.webServer></configuration> |
|
1 |
<match url="^(.*/)*<span style="color: rgb(255, 0, 0);"><strong>filename</strong></span>"/><br>注意把filename 改成对应的yii目录地址,我的这个是把YII嵌套到另一个程序里边了 |
评论(0)