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

  
    希望我的解決辦法能給你幫助。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM