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/)

  
    希望我的解决办法能给你帮助。

posted @ 2016-05-11 16:33  IT追梦者  阅读(7097)  评论(0编辑  收藏  举报