模板编辑提示“您要找的资源已被删除、已更名或暂时不可用”

15396605020   ·   发表于 2020-5-27   ·   技术交流

怀疑是规则问题。但是看了一下又找不出来问题出在那边

附上规则请教下,新手

1.0" encoding="UTF-8"?>

<configuration>

    <system.webServer>

        <rewrite>

            <rules>

                <rule name="ThinkPHP_NiPaiYi" stopProcessing="true">

                    <match url="^(.*)$" ignoreCase="false" />

                    <conditions logicalGrouping="MatchAll">

                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />

                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />

                    </conditions>

                    <action type="Rewrite" url="index.php/{R:1}" appendQueryString="true" />

                </rule>

            </rules>

        </rewrite>

    </system.webServer>

</configuration>


0 条回复   |  直到 2020-5-27 | 197 次浏览
登录后才可发表内容