服务器上的一个在线项目,从linux 服务器把代码拉下来。
在本地window环境配置,但运行失败。
报错:
[Fri Nov 29 16:53:20.598945 2019] [core:error] [pid 125864:tid 1220] [client 127.0.0.1:57705] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.


.htaccess
<IfModule mod_rewrite.c>
  Options +FollowSymlinks -Multiviews
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>


httpd-vhosts.conf

<VirtualHost *:80>
ServerName myjinyi.com
DocumentRoot "D:\wamp64\www\jinyi\public"
SetEnv APPLICATION_ENV "development"
<Directory "D:\wamp64\www\jinyi\public">
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>



httpd.conf
开启了AllowOverride all

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|Archiver|手机版|小黑屋|CRMEB论坛

    Powered by Discuz! X3.4  © 2001-2013 Comsenz Inc.