Greetings,

I'm try to get rebol 2.2.0.3.1 to connect to a firewall proxy using basic
authentication.

I have the following settings:
    system/schemes/default/proxy
        host                127.0.0.1        ;; Set to my proxy server
        port-id             81                  ;; Set to 81
        user                "user"
        pass                "password"
        type                generic
with identical settings under:
    system/schemes/http/proxy

I am unable to get rebol to use the Proxy-Connection: or Proxy-Authoriztion:
headers.

I have setup the Proxy Server script by Sterling Newton and was able to
connect through the proxy with MSIE.  Here is a clip the debug code when it
works:
==================== NEW CONNECTION =================
===
connecting to: www.rebol.com
{GET http://www.rebol.com/dictionary.html HTTP/1.0^M
Accept: */*^M
Accept-Language: en-us^M
Accept-Encoding: gzip, deflate^M
If-Modified-Since: Fri, 29 Oct 1999 00:38:15 GMT^M
If-None-Match: "8db891-5bdd9-3818ec77"^M
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Window
s 95; DigExt)^M
Host: www.rebol.com^M
Proxy-Connection: Keep-Alive^M
Pragma: no-cache^M
Proxy-Authorization: Basic xxxxxxxxxx=^M
^M
}
closing ports... 1 open


When I type modified? http://user:[EMAIL PROTECTED]
from another instance of rebol I get:

connecting to: www.rebol.com
** User Error: Error.  Target url: http://www.rebol.com/ could not be retrie
ved.  Server response: HTTP/1.0 407 Proxy Authentication Required.
** Where: modified? http://user:[EMAIL PROTECTED]


:  notice the missing
Proxy-Connection: Keep-Alive^M
Pragma: no-cache^M
Proxy-Authorization: Basic xxxxxxxxxx=^M
^M


The rebol proxy reports the following

==================== NEW CONNECTION =================
===
connecting to: agfaweb
{GET http://www.rebol.com/ HTTP/1.0^M
Accept: */*^M
User-Agent: REBOL 2.2.0.3.1^M
Host: www.rebol.com^M
^M
^M
}
closing ports... 1 open

THANKS for the help

JH



Reply via email to