我遇到了实现自定义404错误页面的问题。我的设置是一个前端apache 2.2.6代理请求,而不是静态文件到后端应用服务器(apache 1.3.36)停止apache注入它自己404找不到页面到自定义404错误页面
当用户请求一个不存在的页面后端服务器。我确实收到了错误页面,但不知何故,后端apache服务器也在错误页面中注入了自己的404未找到页面。
这里是由阿帕奇注入找不到网页:
Not Found
The requested URL /product/8jd4776 was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.36 Server at www.example.com Port 8888
任何想法,为什么发生这种情况?