0

您好我最近从 github 的 php-login.net 下载了登录系统。目前只是玩了一下,我已经使用 xampp 和 vhosts (mvlogin.dev) 在我的本地开发人员上设置了代码。当我访问该地址时,主页会按预期加载,但是当我移至任何其他页面时,它会抛出和实习服务器错误:

"Internal Server Error

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

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

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an   ErrorDocument to handle the request."

我知道其他一些人一直有这个问题,并由开发人员在博客上发布,但开发人员只是回答“它在我的服务器上工作,所以它是你的服务器的问题”,所以我非常坚持我应该解决的问题。

PHP 错误:日志

[Tue Nov 05 15:40:15.039636 2013] [core:error] [pid 7020:tid 1764] [client 127.0.0.1:56913] 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.
[Tue Nov 05 15:40:15.039636 2013] [core:error] [pid 7020:tid 1764] [client 127.0.0.1:56913] 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.
[Tue Nov 05 15:40:16.116697 2013] [core:error] [pid 7020:tid 1772] [client 127.0.0.1:56914] 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., referer: http://mvclogin.dev/
[Tue Nov 05 15:40:16.116697 2013] [core:error] [pid 7020:tid 1772] [client 127.0.0.1:56914] 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., referer: http://mvclogin.dev/
[Tue Nov 05 15:40:16.168700 2013] [core:error] [pid 7020:tid 1748] [client 127.0.0.1:56916] 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.
[Tue Nov 05 15:40:16.168700 2013] [core:error] [pid 7020:tid 1748] [client 127.0.0.1:56916] 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.
4

1 回答 1

1

明白了,他将 RewriteBase 设置为示例 URL 的 .htaccess 文件。只需删除它,留下正斜杠。

RewriteBase /

感谢@Moshe Katz 将我推向正确的方向

于 2013-11-05T15:49:34.060 回答