Auth_request PHP question

Francis Daly francis at daoine.org
Fri Oct 30 19:32:32 UTC 2015


On Mon, Oct 26, 2015 at 08:44:45AM -0400, JaminVP wrote:

Hi there,

> I managed to get Nginx running with php-scripts, but I don't understand how
> the script is supposed to authenticate through auth_request.
> What is the script supposed to do to reject a request? I tried the header()
> function but that doesn't do much.

http://nginx.org/r/auth_request, then go back to the top of the page,
for the documentation.

You must send the correct http response code from the script.

Your language / library manual should say how to do that.

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list