iis8 下的wecenter伪静态配置
                            据说wecenter伪静态和wordpress一致。
 IIS的伪静态实现规则和apache不一样,需要装一个rewrite的IIS模块,
在网站根目录下新建一个web.config文件放在网站根目录,内容如下:
 
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
 <system.webServer>
 <rewrite>
 <rules>
 <rule name="WeCenter" patternSyntax="Wildcard">
 <match url="*"/>
 <conditions>
 <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
 <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
 </conditions>
 <action type="Rewrite" url="index.php"/>
 </rule></rules>
 </rewrite>
 </system.webServer>
</configuration>
 
 
附件是配置好了web.config,解压即可。                        
                    
 
                                         
                 
                 
                 
                
2018-03-26 10:06
2017-06-02 15:07
2016-08-29 09:24