Re: [users@httpd] mod_cgi not passing headers for authentication

2020-03-09 Thread Roderick
On Tue, 3 Mar 2020, Yann Ylavic wrote: With this I get HTTP_AUTHORIZATION, but Unfortunately not REMOTE_USER. Sure, if httpd isn't doing auth it will not care about REMOTE_USER nor parse the Authorization header. Excuse me the question: does httpd obtain REMOTE_USER by parsing the AUTHORI

Re: [users@httpd] mod_cgi not passing headers for authentication

2020-03-02 Thread Roderick
Thanks, Yann! With this I get HTTP_AUTHORIZATION, but Unfortunately not REMOTE_USER. If user names do not have ":", I can get the username. > On Sun, Mar 1, 2020 at 7:33 PM Roderick wrote: > > [...] > You seem to want: > https://httpd.apache.org/docs/2.4/en/

Re: [users@httpd] mod_cgi not passing headers for authentication

2020-03-01 Thread Roderick
I do not want apache "doing basic auth". I want to do it in the cgi script myself, and as I understand RFC3875, the headers in question should be passed for that purpose. Thanks anyway Rodrigo On Sun, 1 Mar 2020, Eric Covener wrote: > If Apache isn't doing basic auth, it can't supply REMOTE_U

[users@httpd] mod_cgi not passing headers for authentication

2020-03-01 Thread Roderick
Dear Sirs, running a CGI script, in which I myself implement basic authentication, I miss necessary headers: REMOTE_USER AUTH_TYPE HTTP_AUTHORIZATION According to https://tools.ietf.org/html/rfc3875 the first MUST be passed. Is there a way to get these headers? I get the last putting in the