[CentOS] Basic authentication - maybe off topoc

Jonathan Billings billings at negate.org
Thu May 11 17:11:21 UTC 2017


On Thu, May 11, 2017 at 07:56:00AM -0400, Jerry Geis wrote:
> Hi - I am using CentOS 7.3 and trying to receive basic authentication.
> 
> I run a command liked: curl -X POST -u jerry:pw
> http://192.168.1.8/inbound.cgi
> 
> When I use printenv in the cgi I do not see the user and password anywhere.
> Isn't it supposed to be there in an environment variable like REMOTE_USER ?

Is this a 'curl' question, a 'How do you write CGI?' question or a
general question about how HTTP works?

-- 
Jonathan Billings <billings at negate.org>



More information about the CentOS mailing list