You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by vincent besson <vi...@mbesson.com> on 2004/01/11 19:21:12 UTC
[users@httpd] HTTP_AUTHORIZATION + CGI
Hello,
I try to make the basic auth working with apache 1.3 for WIN32
But my cgi never getenv the HTTP_AUTHORIZATION env var
Could some one tell me what is wrong
Do i have to change -D compillation var such as SEC HOLE ?
Is there an another way ?
Thanks
Vincent
Re: [users@httpd] HTTP_AUTHORIZATION + CGI
Posted by Robert Andersson <ro...@profundis.nu>.
vincent besson wrote:
> But my cgi never getenv the HTTP_AUTHORIZATION env var
Although I recognize that variable, I don't recall exactly what it is for.
Hmm, it would be the content of the Authorization header in the request? I
don't think it passed as an environment variable for security reasons (its
value includes the password).
However, you should find these environment vars available:
REMOTE_USER -- authenticated user name
AUTH_TYPE -- type of auth; "Basic" in your case
Regards,
Robert Andersson
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org