pache 显示这样的错误时 "Request exceeded the limit of 10 internal redirects due to probable configuration er
2017-04-17 13:40
691 查看
apache 显示这样的错误时 "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
apache 显示这样的错误时 "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." 中文意思:要求超过10内部重定向由于可能的配置错误的限制。使用“limitinternalrecursion'如果有必要增加限制。使用“调试”LogLevel生成回溯。 这是出现的apache 出现的重定向的错误。
解决办法有两个
1、在网站的根目录下建立文件 .htaccess ,内容类似下面内容
这个配置的意思是 “index.php 后面 不是这 images.uploads.tpl 等目录,就会走下面的php重定向的内容,一般是走框架内的重定向”。加入相应的文件目录,问题应该解 决了吧
2、修改 apache 服务器的配置文件(linux apache 分散式配置)
这个总体看起来,和上面的.htaccess 文件内容差不多。
需要把 RewriteEngine off ====》RewriteEngine on
依然在此加上相应的目录 RewriteCond %{REQUEST_URI} !^(/index\.php|/static/|/lib/|/admin/|/uploads/|/tpl/)
AllowOverride All 默认是 None 改成 All
如果还是不行,可以把 根目录的斜线去掉,改成 RewriteCond %{REQUEST_URI} !^(index\.php|static/|lib/|admin/|uploads/|tpl/)
希望我的解决办法能给你帮助。
相关文章推荐
- 【已解决】Request exceeded the limit of 10 internal redirects due to probable configuration error.
- 连接WCF出现错误:The server was unable to process the request due to an internal
- "Your computer could not be joined to the domain. You have exceeded the maximum number of computer accounts you are allowed to create in this domain. Contact your system administrator to have this limit reset or increased."
- 工作流错误:The workflow failed to start due to an internal error.
- Operation is not valid due to the current state of object 错误解决
- 工作流内部错误(The workflow failed to start due to an internal error.)的解决
- 解决错误:Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
- [Exception]SEVERE: Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig
- Unable to add App ID because the ’10’ app id limit in ‘7’ days has been exceeded
- [Exception]Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig
- ASP.NET4.0错误:Operation is not valid due to the current state of the object
- SQL Server 2005 RTM 安装错误 :The SQL Server System Configuration Checker cannot be executed due to
- springBoot启动错误 Your ApplicationContext is unlikely to start due to a @ComponentScan of the default
- 【406错误】 The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers.
- SQL Server 2005 RTM 安装错误 :The SQL Server System Configuration Checker cannot be executed due to
- 关于使用springmvc时Failed to load resource: the server responded with a status of 400 (Bad Request)错误可能原因
- c++执行程序出现"unable to find a version of the runtime"的错误提示
- matlab安装时出现这样的错误怎么办?The installer cannot read the mwinstall.dll file, This is probably due to a CD r
- 关于使用springmvc时Failed to load resource: the server responded with a status of 400 (Bad Request)错误可能原因