500内部服务器错误锚点错误

时间:2013-03-19 03:35:50

标签: apache zend-framework anchor smarty3

我在我的页面中发现了这个错误

 Internal Server Error

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

 Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

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

我在Apache错误日志中发现了这个错误

[Tue Mar 19 11:28:28 2013] [error] [client 127.0.0.1] File does not exist:        C:/wamp/www/favicon.ico
[Tue Mar 19 11:28:30 2013] [error] [client 127.0.0.1] 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://iblog.local/iBlog/
[Tue Mar 19 11:28:30 2013] [debug] core.c(3112): [client 127.0.0.1] r->uri = /iBlog/public/index.php, referer: http://iblog.local/iBlog/
[Tue Mar 19 11:28:30 2013] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /iBlog/public/index.php, referer: http://iblog.local/iBlog/
[Tue Mar 19 11:28:30 2013] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /iBlog/public/index.php, referer: http://iblog.local/iBlog/
[Tue Mar 19 11:28:30 2013] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /iBlog/public/index.php, referer: http://iblog.local/iBlog/
[Tue Mar 19 11:28:30 2013] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /iBlog/public/index.php, referer: http://iblog.local/iBlog/
[Tue Mar 19 11:28:30 2013] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /iBlog/public/index.php, referer: http://iblog.local/iBlog/
[Tue Mar 19 11:28:30 2013] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /iBlog/public/index.php, referer: http://iblog.local/iBlog/
[Tue Mar 19 11:28:30 2013] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /iBlog/public/index.php, referer: http://iblog.local/iBlog/
[Tue Mar 19 11:28:30 2013] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /iBlog/public/index.php, referer: http://iblog.local/iBlog/
[Tue Mar 19 11:28:30 2013] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /iBlog/public/index.php, referer: http://iblog.local/iBlog/
[Tue Mar 19 11:28:30 2013] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /iBlog/index/login, referer: http://iblog.local/iBlog/
[Tue Mar 19 11:28:30 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico

我想访问我的其他模板

它的控制器是索引 模板名称为login

 <a href= "index/login">Login</a>

我如何解决错误。

1 个答案:

答案 0 :(得分:1)

页面http://iblog.local/iBlog/重定向到自身,并将Web服务器发送到循环中。您只需确保删除该重定向。