Apache ErrorDocument在ReverseProxy中不工作

Apache ErrorDocument在ReverseProxy中不工作,apache,reverse-proxy,httpd.conf,http-proxy,Apache,Reverse Proxy,Httpd.conf,Http Proxy,我将ApacheHTTPD2.4设置为反向代理,并在虚拟主机中使用IP筛选器 除了自定义错误文档的使用,一切都正常 如果我设置了一个本地路径,即ErrorDocument 403/errors/1x1.jpg我会得到一个“另外,在尝试使用ErrorDocument处理请求时遇到403禁止的错误。” 如果我设置了完整的URL,即errordocument403https://FQDN/errors/1x1.jpg,我在日志中得到一个302循环,再次得到一个403循环 但是,我可以访问https:/

我将ApacheHTTPD2.4设置为反向代理,并在虚拟主机中使用IP筛选器

除了自定义错误文档的使用,一切都正常

如果我设置了一个本地路径,即
ErrorDocument 403/errors/1x1.jpg
我会得到一个“另外,在尝试使用ErrorDocument处理请求时遇到403禁止的错误。”

如果我设置了完整的URL,即
errordocument403https://FQDN/errors/1x1.jpg
,我在日志中得到一个302循环,再次得到一个403循环

但是,我可以访问https://FQDN/errors/1x1.jpg 如果我直接在浏览器中访问图像,没有任何问题

因此,IP筛选器不会阻止访问

< VirtHost snipped >

DocumentRoot /server/data/www/apache/alpha/www

< TLS snipped >

Include /etc/apache2/vhosts.d/alpha/allow_errors.conf # require all granted for Location </errors/>
ProxyPass /errors/ ! # dont proxy if errors in path
ErrorDocument 403 /errors/1x1.jpg # or https://FQDN/errors/1x1.jpg
ErrorDocument 404 /errors/1x1.jpg
ErrorDocument 500 /errors/1x1.jpg
ProxyErrorOverride On

Include /etc/apache2/vhosts.d/alpha/one_ip_filter.conf
Include /etc/apache2/vhosts.d/alpha/second_ip_filter.conf

ProxyPass / http://IPADDR:PORT/ nocanon
ProxyPassReverse / http://IPADDR:PORT/
ProxyPassReverseCookieDomain IPADDR:PORT FQDN
ProxyPreserveHost on

DocumentRoot/server/data/www/apache/alpha/www

Include/etc/apache2/vhosts.d/alpha/allow_errors.conf#require为位置授予所有权限
ProxyPass/错误/!#如果路径中有错误,请不要代理
ErrorDocument 403/errors/1x1.jpg#或https://FQDN/errors/1x1.jpg
ErrorDocument 404/errors/1x1.jpg
ErrorDocument 500/errors/1x1.jpg
ProxyErrorOverride打开
Include/etc/apache2/vhosts.d/alpha/one_ip_filter.conf
Include/etc/apache2/vhosts.d/alpha/second_ip_filter.conf
ProxyPass/http://IPADDR:PORT/ 诺卡农
ProxyPassReverse/http://IPADDR:PORT/
ProxyPassReverseCokieDomain IPADDR:端口FQDN
代理主机
在DocumentRoot中,图像文件“1x1.jpg”存在目录错误

所有权限设置正确,即所有dir和文件都属于httpd用户,所有dir都有x标志

有什么想法吗