[REBOL] Re: how to use a CGI script in secure mode ?
From: gscottjones:mchsi at: 13-Aug-2002 5:47
From: "DIDIERJEAN Stéphane (CMG)"
<snip>
> This is when my rebol script on a PC
> try to access a CGI script, the apache
> server want a user and password for
> secure reason. When internet explorer
> try to access a cgi script for the first
> time a popup windows appears where
> the user can enter the user and
> password. I don't know how to do this
> with in rebol.
<snip>
Hi, Stéphane,
I hesitated posting yesterday, because I don't "know" ("know" as in I "know"
the sky is blue) the answer. I can suggest an approach that may work. Even
if it does not work, then I may be able to help patch the http scheme to
make it work for you.
In ftp, one can pass the username and password in the url. This is true for
REBOL and for Internet Explorer (at least for many ftp servers; some will
pop-up a dialog and re-ask the sequence).
ftp://my-user-name:[my-password--ftp--mysite--dom]
The http scheme supports passing the username and password in a url to a
proxy server, and may serve the same purpose in your situation. It is so
easy to try, that I would try this first (something like the following):
http://my-user-name:[my-password--unix]:83/cgi/ServBafi.r?type=charge
If this does not work, then it is possible to patch the http scheme to the
send the information at the correct time, but the only "easy" way to do this
is to have a test site. I am guessing that it *will* work, but only a test
will tell for sure.
Try the approach listed above and let us know. Good luck!
--Scott Jones