我有一个apache2 + php7网站。该网站正常加载,但我在日志中看到了这些错误:
“ AH00124:由于可能的配置错误,请求超出了10个内部重定向的限制。如有必要,使用'LimitInternalRecursion'增加限制。使用'LogLevel debug'获得回溯。”
我怀疑错误来自某些htaccess指令,但是找不到解决方案。有什么想法吗?
constructor(
private httpHandler: HttpHandler
) {
const injector = Injector.create(
{
providers: [
{ provide: HttpClient, useClass: HttpClient, deps: [HttpHandler] },
{ provide: HttpHandler, useValue: httpHandler }
]
}
);
this.httpClient = injector.get(HttpClient);
}