HTTP/1.1 401 Unauthorized changed to HTTP/1.1 200 OK for login form

Version 1.291


The http return value for the login page was: HTTP/1.1 401 Unauthorized Which works fine for most browsers, but is actually incorrect as it would imply the server wants a httpd-auth authentication passed. Most browsers ignored this header and show the data anyway. Other browsers like cellphone (nokia's for example) do take it seriously, show a login popup and ignore the data. Changing to: HTTP/1.1 200 OK should solve that, as most regular browsers really don't care anwyay.

Interested to try DirectAdmin? Get a 30-day Free Trial!