Reputation: 89
I am sending multiple WWW-authenticate headers with php: first Negotiate and second NTLM, but browsers receive only the latter one. The front-end web server is Nginx. The back-end web server is Apache, that serves PHP-scripts. What should I do to send both headers?
Upvotes: 1
Views: 167
Reputation: 89
Got it solved. I should have set the second argument to the header function as false. header('WWW-authenticate: NTLM',false);
Upvotes: 1