I use the .htaccess file on my Apache to display custom error documents. This all works fine too.
But I still see lots of this error in the log:
[Thu Aug 13 10:38:31 2020] [notice] [client AH00113: /home/www/.htaccess:6 cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
Line 6 of my .htacess looks straight forward:
ErrorDocument 401 http://error.foo.bar/401.html
Why can't a full URL in a 401 ErrorDocument directive be used? Bug or Feature?
You can use only local URL-path in response to code 401. It is because