IIS7伪静态后,中文话题404,用户主页404,谁知道该怎么解决啊。
还有,管理员登陆后台后,直接跳转为 /admin
web.config 我是这样配置的。
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="301Redirect" stopProcessing="true">
                    <match url="(.*)" />
                    <conditions logicalGrouping="MatchAny">
                        <add input="{HTTP_HOST}" pattern="^*****$" />
                    </conditions>
                    <action type="Redirect" url="*******/{R:0}" redirectType="Permanent" />
                </rule>
				<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>万能的群友们,求解决问题。
 
                                     阅读全文
                                
                                
                                     收起全文