php-login.net MVC 登录脚本给出 500 错误


php-login.net MVC login script gives a 500 error

您好,我最近从 github 下载了 php-login.net 登录系统。目前我只是玩了一玩,我已经使用 xampp 和 vhosts (mvclogin.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.

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

RewriteBase /

感谢@Moshe卡茨把我推向正确的方向