Displaying 2 results from an estimated 2 matches for "topoc".
Did you mean:
topic
2017 May 11
3
Basic authentication - maybe off topoc
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 ?
How do I receive the basic authentication ?
Thanks,
Jerry
2017 May 11
0
Basic authentication - maybe off topoc
>Is this a 'curl' question, a 'How do you write CGI?' question or a
>general question about how HTTP works?
Hi Jonathan,
This was just a general question on why I'm not seeing what I expected.
I'm using CentOS 7.3, I have written CGI for years (not using user & pass),
I've used http for years - I was just hoping someone might be able to shed
some light
on