htaccess的内部服务器错误

htaccess的内部服务器错误

本文介绍了htaccess的内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

服务器遇到一个内部错误或配置错误,无法完成您的请求。

The server encountered an internal error or misconfiguration and was unable to complete your request.

请与服务器管理员联系,并告知了发生错误的时候他们,你这个错误之前执行的操作而已。

Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.

在服务器错误日志中,我发现这个.........

In server error log I found this.........

[Sun Sep 29 11:41:38 2013] [11364218] [core:error] [client 59.91.129.173:61139] 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是

// My htaccess is

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]

如果我删除我的htaccess的话也是这个问题出现

if i remove my htaccess then also this problem arise

我stucked此问题

I am stucked for this issue

请帮我这个问题。

在此先感谢

推荐答案

您的.htaccess是停留在一个再直接循环。例如,HTTP转发到https,转发回HTTP,回HTTPS,直到永远。作为配置的网站实际上并不能提供一个页面,浏览器抱怨它。

Your .htaccess is stuck in a re-direct loop. For instance, http forwarding to https, forwarding back to http, back to https, forever. The site as configured cannot actually deliver a page, and the browser is complaining about it.

如果您发布的.htaccess为我们(变化敏感信息,根据需要),那么我们就可以确切地告诉你什么是错的。

If you post the .htaccess for us (change sensitive info, as needed) then we can tell you exactly what's wrong.

这篇关于htaccess的内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 14:25