Php Laravel Vagrant-内部服务器错误

Php Laravel Vagrant-内部服务器错误,php,laravel,vagrant,Php,Laravel,Vagrant,我正在和流浪汉一起做一个拉威尔的项目。我使用以下URL访问我的项目:localhost:8081 但最近,当我运行“Vagrant up”并试图通过浏览器访问时,它显示“内部服务器错误” 我唯一怀疑导致此问题的原因是: 我的torrent客户端不断崩溃,我输入以下命令修复我的torrent崩溃:“netsh interface teredo set state disabled”(在网上找到此解决方案) 当我在VM中看到vagrant ssh,在/var/log/apache2中看到cd,并打开

我正在和流浪汉一起做一个拉威尔的项目。我使用以下URL访问我的项目:localhost:8081

但最近,当我运行“Vagrant up”并试图通过浏览器访问时,它显示“内部服务器错误”

我唯一怀疑导致此问题的原因是: 我的torrent客户端不断崩溃,我输入以下命令修复我的torrent崩溃:“netsh interface teredo set state disabled”(在网上找到此解决方案)

当我在VM中看到vagrant ssh,在/var/log/apache2中看到cd,并打开error.log时,我得到以下信息:

[Sat Feb 15 11:17:47.144253 2014] [core:error] [pid 924] [client 10.0.2.2:51189] 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.
[Sat Feb 15 11:17:51.706669 2014] [core:error] [pid 922] [client 10.0.2.2:51190] 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或虚拟主机配置

尝试删除它们并使用绝对URL访问


如果没有帮助,请检查php.ini文件中的错误。

根据错误日志报告:

[星期六2014年2月15日11:17:47.144253][core:error][pid 924][client 10.0.2.2:51189]AH00124:由于可能的配置错误,请求超出了10个内部重定向的限制。使用 “LimitInternalRecursion”在必要时增加限制。使用 “LogLevel debug”以获取回溯

这是一个内部服务器错误,很可能是由于
.htaccess
文件中的任何无效
Mod_Rewrite
规则造成的,这些规则可能会创建
重定向循环


无法提供具体帮助,但可能会给您一些想法,这些答案(和)等也可能会有所帮助。

我在发布本文几周后找到了解决方案。Debian/Ubuntu上的Apache在我发布这个问题时得到了更新,文档根目录改为/var/www/html,而不是/var/www。因此,我必须更改vagrant文件中的sym链接才能使其正常工作

[Sat Feb 15 11:17:47.144253 2014] [core:error] [pid 924] [client 10.0.2.2:51189] 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.
[Sat Feb 15 11:17:51.706669 2014] [core:error] [pid 922] [client 10.0.2.2:51190] 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.