-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
5.2.4
-
None
-
Ubuntu 14.04 with Apache 2.4.7
Usage of Apache as proxy server with the follwoing configuration:
Alias /404 /var/www/404 ErrorDocument 404 /404/server-error.html ProxyErrorOverride on ProxyRequests off ProxyPass /404 ! ProxyPass / ajp://localhost:8009/ max=200 retry=7
makes it impossible to access the admin interface for login due to the send 401 status code. As the ProxyErrorOverride applies to all error pages (400-500) and uses the standard Apache ErrorDocument for the given 401.
As far as I understand the RFC2616 the 401 code should only be used for basic authorization or digests. For a normal web page login a 200 OK would be more suitable and makes it possible to use Magnolia inside Apache Tomcat to be proxied over AJP.
Acceptance criteria