Welcome! Log In Create A New Profile

Advanced

remote_user variable

All files from this thread

File Name File Size   Posted by Date  
ngx_http_variable_remote_user.diff 677 bytes open | download Michal Kowalski 06/05/2009 Read message
Michal Kowalski
June 05, 2009 10:42PM
hello,

i'm doing different authorization method module and i want to set
remote_user variable upon success. but ngx_http_variable_remote_user
in src/http/ngx_http_variables.c assumes basic auth method.
for now i've added bogus, dummy mangling of authorization header
to my module in order to please the higher powers...
but i'd rather there was systemic way to deal with it.

i'm attaching a proposal for a patch to do the "trick". not tested yet.
so perhaps i could put more thought into it if it doesn't work... thaaaat way.

mike
--
(let* ((mk "MichaƂ Kowalski") (sig `(lambda () ,mk))) ((eval sig)))
Attachments:
open | download - ngx_http_variable_remote_user.diff (677 bytes)
Subject Author Posted

remote_user variable Attachments

Michal Kowalski June 05, 2009 10:42PM

Re: remote_user variable

mike June 05, 2009 11:19PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 148
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready