eyoucms后台进入不了,总是跳到前台页面

首先确认是的运行环境是否  iis,然后查看空间根目录下是否有 web.config文件,在文件里新增代码即可,如图:


 

        <rewrite>

            <rules>

                <rule name="Imported Rule 1" enabled="true" stopProcessing="true">

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

                    <conditions logicalGrouping="MatchAll">

                        <add input="{HTTP_HOST}" pattern="^(.*)$" />

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

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

                    </conditions>

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

                </rule>

            </rules>

        </rewrite>

转自:http://www.eyoucms.com/bbs/1828.html

猜你喜欢

转载自blog.csdn.net/eyoucms2/article/details/83301814
今日推荐