Attached is a wire-log, from a test run this morning, fresh build off HEAD. (Still having problems getting Branches in Eclipse)
Thanks, Dave -----Original Message----- From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 4:31 PM To: Commons HttpClient Project Subject: Re: NTLM Auth Code Snippet David, As far as I can tell the code looks all right. My only guess was that the parameters to NTCredentials constructor might have been messed up, but that does not seem to be the case. I just tested the latest snapshot of 2.0 branch and HEAD against Squid proxy using Basic authentication scheme. No surprises there. Unfortunately I cannot test HTTP communication via a proxy with NTLM authentication as I do not have a single one at my disposal (I tried to configure Squid to use NTLM instead of Basic, but to no avail). I know HttpClient has been reported to work fine with NTLM proxies on more than one occasion. So, I would still like to kindly ask you to double-check the credentials you have been used to authenticate with the proxy. If you are 100% sure the credentials are fine, send us the complete wire & debug log. If you happen to have access to the proxy server in question it would also be worthwhile checking the server logs to see if there are any clues as to why the authentication has been refused Oleg On Tue, 2003-08-12 at 23:00, Rowe, David (CAG-CC MIS) wrote: > public class Authentication > { > public Authentication() { } > > public static void main(String[] args) throws Exception > { > System.setProperty("org.apache.commons.logging.Log", > "org.apache.commons.logging.impl.SimpleLog"); > System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire", > "debug"); > > System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient", > "debug"); > > HttpClient client = new HttpClient(); > > client.getHostConfiguration().setProxy("[our proxy]", 80); > > client.getState().setProxyCredentials(null,null, > new NTCredentials("[user name]", "[password]", "[our proxy]", > "[domain]") > ); > > GetMethod get = new GetMethod("http://www.yahoo.com"); > > get.setDoAuthentication( true ); > > int status = client.executeMethod( get ); > > System.out.println(status + "\n" + get.getResponseBodyAsString()); > > get.releaseConnection(); > } > } > > > Supposedly this should Authenticate through the proxy, and output Yahoo!'s website. > > If you can see anything that is needed please respond... > > David Rowe > ConAgra Foods, Inc. > Web Application Development - Intern > 7350 World Communications Drive > Omaha, NE 68122 > Phone: (402) 998-2722 > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[DEBUG] HttpClient - -Java version: 1.4.1_01 [DEBUG] HttpClient - -Java vendor: Sun Microsystems Inc. [DEBUG] HttpClient - -Java class path: H:\ProxyTest\bin;C:\java\httpclient\commons-logging-1.0.3\commons-logging.jar;C:\eclipse\workspace\httpclient\dist\commons-httpclient.jar [DEBUG] HttpClient - -Operating system name: Windows 2000 [DEBUG] HttpClient - -Operating system architecture: x86 [DEBUG] HttpClient - -Operating system version: 5.0 [DEBUG] HttpClient - -SUN 1.2: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores) [DEBUG] HttpClient - -SunJSSE 1.41: Sun JSSE provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories, SSLv3, TLSv1) [DEBUG] HttpClient - -SunRsaSign 1.0: SUN's provider for RSA signatures [DEBUG] HttpClient - -SunJCE 1.4: SunJCE Provider (implements DES, Triple DES, Blowfish, PBE, Diffie-Hellman, HMAC-MD5, HMAC-SHA1) [DEBUG] HttpClient - -SunJGSS 1.0: Sun (Kerberos v5) [DEBUG] HttpMethodDirector - -Execute loop try 1 [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0) [DEBUG] wire - ->> "GET http://www.yahoo.com/ HTTP/1.1[\r][\n]" [DEBUG] HttpMethodBase - -Adding Host request header [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.1m1[\r][\n]" [DEBUG] wire - ->> "Host: www.yahoo.com[\r][\n]" [DEBUG] wire - ->> "Proxy-Connection: Keep-Alive[\r][\n]" [DEBUG] wire - ->> "[\r][\n]" [DEBUG] wire - -<< "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )[\r][\n]" [DEBUG] wire - -<< "Via: 1.1 CEPISAPROXY02[\r][\n]" [DEBUG] wire - -<< "Proxy-Authenticate: NTLM[\r][\n]" [DEBUG] wire - -<< "Proxy-Authenticate: Basic realm="[REMOVED FOR PRIVACY]"[\r][\n]" [DEBUG] wire - -<< "Proxy-Authenticate: Kerberos[\r][\n]" [DEBUG] wire - -<< "Proxy-Authenticate: Negotiate[\r][\n]" [DEBUG] wire - -<< "Pragma: no-cache[\r][\n]" [DEBUG] wire - -<< "Cache-Control: no-cache[\r][\n]" [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]" [DEBUG] wire - -<< "Content-Length: 3787[\r][\n]" [DEBUG] HttpMethodDirector - -Authorization required [DEBUG] HttpAuthenticator - -Authenticating with the default authentication realm at [REMOVED FOR PRICVACY] [DEBUG] HttpMethodDirector - -HttpMethodBase.execute(): Server demanded authentication credentials, will try again. [DEBUG] wire - -<< "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">[\r][\n]" [DEBUG] wire - -<< "<HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE>[\r][\n]" [DEBUG] wire - -<< "<STYLE>A:link {[\r][\n]" [DEBUG] wire - -<< "[0x9]FONT: 8pt/11pt verdana; COLOR: #ff0000[\r][\n]" [DEBUG] wire - -<< "}[\r][\n]" [DEBUG] wire - -<< "A:visited {[\r][\n]" [DEBUG] wire - -<< "[0x9]FONT: 8pt/11pt verdana; COLOR: #4e4e4e[\r][\n]" [DEBUG] wire - -<< "}[\r][\n]" [DEBUG] wire - -<< "</STYLE>[\r][\n]" [DEBUG] wire - -<< "[\r][\n]" [DEBUG] wire - -<< "<META content=NOINDEX name=ROBOTS>[\r][\n]" [DEBUG] wire - -<< "<META http-equiv=Content-Type content="text-html; charset=Windows-1252">[\r][\n]" [DEBUG] wire - -<< "<SCRIPT> [\r][\n]" [DEBUG] wire - -<< "function Homepage(){[\r][\n]" [DEBUG] wire - -<< "<!--[\r][\n]" [DEBUG] wire - -<< "// in real bits, urls get returned to our script like this:[\r][\n]" [DEBUG] wire - -<< "// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm [\r][\n]" [DEBUG] wire - -<< "[\r][\n]" [DEBUG] wire - -<< "[0x9]//For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"[\r][\n]" [DEBUG] wire - -<< "[0x9]DocURL=document.URL;[\r][\n]" [DEBUG] wire - -<< "[0x9][\r][\n]" [DEBUG] wire - -<< "[0x9]//this is where the http or https will be, as found by searching for :// but skipping the res://[\r][\n]" [DEBUG] wire - -<< "[0x9]protocolIndex=DocURL.indexOf("://",4);[\r][\n]" [DEBUG] wire - -<< "[0x9][\r][\n]" [DEBUG] wire - -<< "[0x9]//this finds the ending slash for the domain server [\r][\n]" [DEBUG] wire - -<< "[0x9]serverIndex=DocURL.indexOf("/",protocolIndex + 3);[\r][\n]" [DEBUG] wire - -<< "[\r][\n]" [DEBUG] wire - -<< "[0x9]//for the href, we need a valid URL to the domain. We searc" [DEBUG] wire - -<< "h for the # symbol to find the begining [\r][\n]" [DEBUG] wire - -<< "[0x9]//of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.[\r][\n]" [DEBUG] wire - -<< "[0x9]//urlresult=DocURL.substring(protocolIndex - 4,serverIndex);[\r][\n]" [DEBUG] wire - -<< "[0x9]BeginURL=DocURL.indexOf("#",1) + 1;[\r][\n]" [DEBUG] wire - -<< "[0x9]urlresult=DocURL.substring(BeginURL,serverIndex);[\r][\n]" [DEBUG] wire - -<< "[0x9][0x9][\r][\n]" [DEBUG] wire - -<< "[0x9]//for display, we need to skip after http://, and go to the next slash[\r][\n]" [DEBUG] wire - -<< "[0x9]displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);[\r][\n]" [DEBUG] wire - -<< "[0x9]document.write('<A HREF="' + urlresult + '">' + displayresult + "</a>");[\r][\n]" [DEBUG] wire - -<< "}[\r][\n]" [DEBUG] wire - -<< "//-->[\r][\n]" [DEBUG] wire - -<< "</SCRIPT>[\r][\n]" [DEBUG] wire - -<< "[\r][\n]" [DEBUG] wire - -<< "<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>[\r][\n]" [DEBUG] wire - -<< "<BODY bgColor=#ffffff>[\r][\n]" [DEBUG] wire - -<< "<TABLE cellSpacing=5 cellPadding=3 width=410>[\r][\n]" [DEBUG] wire - -<< " <TBODY>[\r][\n]" [DEBUG] wire - -<< " <TR>[\r][\n]" [DEBUG] wire - -<< " <TD vAlign=center align=left width=360>[\r][\n]" [DEBUG] wire - -<< " <H1 style="FONT: 13pt/15pt verdana; COLOR: #000000"><!--Problem-->The page [\r][\n]" [DEBUG] wire - -<< " cannot be displayed</H1></TD></TR>[\r][\n]" [DEBUG] wire - -<< " <TR>[\r][\n]" [DEBUG] wire - -<< " <TD width=400 colSpan=2><FONT [\r][\n]" [DEBUG] wire - -<< " style="FONT: 8pt/11pt verdana; COLOR: #000000">There is a problem with the [\r][\n]" [DEBUG] wire - -<< " page you are trying to " [DEBUG] wire - -<< "reach and it cannot be displayed.</FONT></TD></TR>[\r][\n]" [DEBUG] wire - -<< " <TR>[\r][\n]" [DEBUG] wire - -<< " <TD width=400 colSpan=2><FONT [\r][\n]" [DEBUG] wire - -<< " style="FONT: 8pt/11pt verdana; COLOR: #000000">[\r][\n]" [DEBUG] wire - -<< " <HR color=#c0c0c0 noShade>[\r][\n]" [DEBUG] wire - -<< "[\r][\n]" [DEBUG] wire - -<< " <P>Please try the following:</P>[\r][\n]" [DEBUG] wire - -<< " <UL>[\r][\n]" [DEBUG] wire - -<< " <LI>Click the <A href="javascript:location.reload()">Refresh</A> button, [\r][\n]" [DEBUG] wire - -<< " or try again later.<BR>[\r][\n]" [DEBUG] wire - -<< " <LI>Open the[\r][\n]" [DEBUG] wire - -<< " <SCRIPT>[\r][\n]" [DEBUG] wire - -<< "[0x9] <!--[\r][\n]" [DEBUG] wire - -<< "[0x9] if (!((window.navigator.userA" [DEBUG] wire - -<< "gent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0) == "2")))[\r][\n]" [DEBUG] wire - -<< "[0x9] {[\r][\n]" [DEBUG] wire - -<< "[0x9] Homepage();[\r][\n]" [DEBUG] wire - -<< "[0x9] }[\r][\n]" [DEBUG] wire - -<< "[0x9] //-->[\r][\n]" [DEBUG] wire - -<< "[0x9] </SCRIPT>[\r][\n]" [DEBUG] wire - -<< " home page, and then look for links to the information you want. [\r][\n]" [DEBUG] wire - -<< " <LI>If you typed the page address in the Address bar, make sure that it[\r][\n]" [DEBUG] wire - -<< " is spelled correctly.<BR>[\r][\n]" [DEBUG] wire - -<< " <LI>Verify that the Internet access policy on your network allows you[\r][\n]" [DEBUG] wire - -<< " to view this this page.</LI>[\r][\n]" [DEBUG] wire - -<< " <LI>If you believe you should be able to view this directory or page, [\r][\n]" [DEBUG] wire - -<< " please contact the Web site administrator by using the e-mail address or [\r][\n]" [DEBUG] wire - -<< " phone number listed on the[\r][\n]" [DEBUG] wire - -<< " <SCRIPT> Homepage();</SCRIPT>[\r][\n]" [DEBUG] wire - -<< " home page. </LI></UL>[\r][\n]" [DEBUG] wire - -<< " <H2 style="FONT: 8pt/11pt verdana; COLOR: #000000">HTTP 407 Proxy Authentication Required - The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. (12209)<BR>Internet Security and Acceleration Server</H2>[\r][\n]" [DEBUG] wire - -<< " <HR color=#c0c0c0 noShade>[\r][\n]" [DEBUG] wire - -<< "[\r][\n]" [DEBUG] wire - -<< " <P>Technic" [DEBUG] wire - -<< "al Information (for support personnel)</P>[\r][\n]" [DEBUG] wire - -<< " <UL>[\r][\n]" [DEBUG] wire - -<< " <LI>Background:<BR>The gateway could not retrieve the requested page.<P></P></LI>[\r][\n]" [DEBUG] wire - -<< " <LI>ISA Server: [REMOVED FOR PRIVACY] <BR>[\r][\n]" [DEBUG] wire - -<< " Via: <BR><BR>Time: 8/13/2003 2:22:28 PM GMT[\r][\n]" [DEBUG] wire - -<< " </LI></UL></FONT></TD></TR></TBODY></TABLE></BODY></HTML>[\r][\n]" [DEBUG] HttpMethodBase - -Resorting to protocol version default close connection policy [DEBUG] HttpMethodBase - -Should NOT close connection, using HTTP/1.1 [DEBUG] HttpConnection - -Connection is locked. Call to releaseConnection() ignored. [DEBUG] HttpMethodDirector - -Execute loop try 2 [DEBUG] wire - ->> "GET http://www.yahoo.com/ HTTP/1.1[\r][\n]" [DEBUG] HttpMethodBase - -Request to add Host header ignored: header already added [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.1m1[\r][\n]" [DEBUG] wire - ->> "Host: www.yahoo.com[\r][\n]" [DEBUG] wire - ->> "Proxy-Authorization: NTLM TlRMTVNTUAABAAAABlIAAAMAAwAxAAAAEQARACAAAABQUk9YWS5DT05BR1JBLkNBR0NBRw==[\r][\n]" [DEBUG] wire - ->> "Proxy-Connection: Keep-Alive[\r][\n]" [DEBUG] wire - ->> "[\r][\n]" [DEBUG] wire - -<< "HTTP/1.1 407 Proxy Authentication Required ( Access is denied. )[\r][\n]" [DEBUG] wire - -<< "Via: 1.1 CEPISAPROXY02[\r][\n]" [DEBUG] wire - -<< "Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAwADADAAAAAGAoEAUJeiNj5EE1AAAAAAAAAAAKAAoAAzAAAAQ0FHAgAGAEMAQQBHAAEAGgBDAEUAUABJAFMAQQBQAFIATwBYAFkAMAAyAAQAKABjAGEAZwAuAGMAbwBuAGEAZwByAGEAZgBvAG8AZABzAC4AbgBlAHQAAwBEAEMARQBQAEkAUwBBAFAAUgBPAFgAWQAwADIALgBjAGEAZwAuAGMAbwBuAGEAZwByAGEAZgBvAG8AZABzAC4AbgBlAHQAAAAAAA==[\r][\n]" [DEBUG] wire - -<< "Pragma: no-cache[\r][\n]" [DEBUG] wire - -<< "Cache-Control: no-cache[\r][\n]" [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]" [DEBUG] wire - -<< "Content-Length: 0[\r][\n]" [DEBUG] HttpMethodDirector - -Authorization required [DEBUG] HttpAuthenticator - -Authenticating with the default authentication realm at [REMOVED FOR PRIVACY] [DEBUG] HttpMethodDirector - -HttpMethodBase.execute(): Server demanded authentication credentials, will try again. [DEBUG] HttpMethodBase - -Resorting to protocol version default close connection policy [DEBUG] HttpMethodBase - -Should NOT close connection, using HTTP/1.1 [DEBUG] HttpConnection - -Connection is locked. Call to releaseConnection() ignored. [DEBUG] HttpMethodDirector - -Execute loop try 3 [DEBUG] wire - ->> "GET http://www.yahoo.com/ HTTP/1.1[\r][\n]" [DEBUG] HttpMethodBase - -Request to add Host header ignored: header already added [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.1m1[\r][\n]" [DEBUG] wire - ->> "Host: www.yahoo.com[\r][\n]" [DEBUG] wire - ->> "Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAF8AAAAAAAAAdwAAAAMAAwBAAAAACwALAEMAAAARABEATgAAAAAAAAB3AAAABlIAAENBR0NBR1xaRFIwMTM4UFJPWFkuQ09OQUdSQS5DQUcXwti0YBIACWZlgOl42Pt/RJxWE02aLKs=[\r][\n]" [DEBUG] wire - ->> "Proxy-Connection: Keep-Alive[\r][\n]" [DEBUG] wire - ->> "[\r][\n]" [DEBUG] wire - -<< "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )[\r][\n]" [DEBUG] wire - -<< "Via: 1.1 CEPISAPROXY02[\r][\n]" [DEBUG] wire - -<< "Proxy-Authenticate: NTLM[\r][\n]" [DEBUG] wire - -<< "Proxy-Authenticate: Basic realm="[REMOVED FOR PRIVACY]"[\r][\n]" [DEBUG] wire - -<< "Proxy-Authenticate: Kerberos[\r][\n]" [DEBUG] wire - -<< "Proxy-Authenticate: Negotiate[\r][\n]" [DEBUG] wire - -<< "Connection: close[\r][\n]" [DEBUG] wire - -<< "Proxy-Connection: close[\r][\n]" [DEBUG] wire - -<< "Pragma: no-cache[\r][\n]" [DEBUG] wire - -<< "Cache-Control: no-cache[\r][\n]" [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]" [DEBUG] wire - -<< "Content-Length: 3787[\r][\n]" [DEBUG] HttpMethodDirector - -Authorization required [INFO] HttpMethodDirector - -Already tried to authenticate with 'null' authentication realm at [PROXY SERVER], but still receiving: HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ) [DEBUG] HttpMethodBase - -Buffering response body [DEBUG] wire - -<< "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">[\r][\n]" [DEBUG] wire - -<< "<HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE>[\r][\n]" [DEBUG] wire - -<< "<STYLE>A:link {[\r][\n]" [DEBUG] wire - -<< "[0x9]FONT: 8pt/11pt verdana; COLOR: #ff0000[\r][\n]" [DEBUG] wire - -<< "}[\r][\n]" [DEBUG] wire - -<< "A:visited {[\r][\n]" [DEBUG] wire - -<< "[0x9]FONT: 8pt/11pt verdana; COLOR: #4e4e4e[\r][\n]" [DEBUG] wire - -<< "}[\r][\n]" [DEBUG] wire - -<< "</STYLE>[\r][\n]" [DEBUG] wire - -<< "[\r][\n]" [DEBUG] wire - -<< "<META content=NOINDEX name=ROBOTS>[\r][\n]" [DEBUG] wire - -<< "<META http-equiv=Content-Type content="text-html; charset=Windows-1252">[\r][\n]" [DEBUG] wire - -<< "<SCRIPT> [\r][\n]" [DEBUG] wire - -<< "function Homepage(){[\r][\n]" [DEBUG] wire - -<< "<!--[\r][\n]" [DEBUG] wire - -<< "// in real bits, urls get returned to our script like this:[\r][\n]" [DEBUG] wire - -<< "// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm [\r][\n]" [DEBUG] wire - -<< "[\r][\n]" [DEBUG] wire - -<< "[0x9]//For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"[\r][\n]" [DEBUG] wire - -<< "[0x9]DocURL=document.URL;[\r][\n]" [DEBUG] wire - -<< "[0x9][\r][\n]" [DEBUG] wire - -<< "[0x9]//this is where the http or https will be, as found by searching for :// but skipping the res://[\r][\n]" [DEBUG] wire - -<< "[0x9]protocolIndex=DocURL.indexOf("://",4);[\r][\n]" [DEBUG] wire - -<< "[0x9][\r][\n]" [DEBUG] wire - -<< "[0x9]//this finds the ending slash for the domain server [\r][\n]" [DEBUG] wire - -<< "[0x9]serverIndex=DocURL.indexOf("/",protocolIndex + 3);[\r][\n]" [DEBUG] wire - -<< "[\r][\n]" [DEBUG] wire - -<< "[0x9]//for the href, we need a valid URL to the domain. We search for the # symbol to find the begining [\r][\n]" [DEBUG] wire - -<< "[0x9]//of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.[\r][\n]" [DEBUG] wire - -<< "[0x9]//urlresult=DocURL.substring(protocolIndex - 4,serverIndex);[\r][\n]" [DEBUG] wire - -<< "[0x9]BeginURL=DocURL.indexOf("#",1) + 1;[\r][\n]" [DEBUG] wire - -<< "[0x9]urlresult=DocURL.substring(BeginURL,serverIndex);[\r][\n]" [DEBUG] wire - -<< "[0x9][0x9][\r][\n]" [DEBUG] wire - -<< "[0x9]//for display, we need to skip after http://, and go to the next slash[\r][\n]" [DEBUG] wire - -<< "[0x9]displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);[\r][\n]" [DEBUG] wire - -<< "[0x9]document.write('<A HREF="' + urlresult + '">' + displayresult + "</a>");[\r][\n]" [DEBUG] wire - -<< "}[\r][\n]" [DEBUG] wire - -<< "//-->[\r][\n]" [DEBUG] wire - -<< "</SCRIPT>[\r][\n]" [DEBUG] wire - -<< "[\r][\n]" [DEBUG] wire - -<< "<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>[\r][\n]" [DEBUG] wire - -<< "<BODY bgColor=#ffffff>[\r][\n]" [DEBUG] wire - -<< "<TABLE cellSpacing=5 cellPadding=3 width=410>[\r][\n]" [DEBUG] wire - -<< " <TBODY>[\r][\n]" [DEBUG] wire - -<< " <TR>[\r][\n]" [DEBUG] wire - -<< " <TD vAlign=center align=left width=360>[\r][\n]" [DEBUG] wire - -<< " <H1 style="FONT: 13pt/15pt verdana; COLOR: #000000"><!--Problem-->The page [\r][\n]" [DEBUG] wire - -<< " cannot be displayed</H1></TD></TR>[\r][\n]" [DEBUG] wire - -<< " <TR>[\r][\n]" [DEBUG] wire - -<< " <TD width=400 colSpan=2><FONT [\r][\n]" [DEBUG] wire - -<< " style="FONT: 8pt/11pt verdana; COLOR: #000000">There is a problem with the [\r][\n]" [DEBUG] wire - -<< " page you are trying to reach and it cannot be displayed.</FONT></TD></TR>[\r][\n]" [DEBUG] wire - -<< " <TR>[\r][\n]" [DEBUG] wire - -<< " <TD width=400 colSpan=2><FONT [\r][\n]" [DEBUG] wire - -<< " style="FONT: 8pt/11pt verdana; COLOR: #000000">[\r][\n]" [DEBUG] wire - -<< " <HR color=#c0c0c0 noShade>[\r][\n]" [DEBUG] wire - -<< "[\r][\n]" [DEBUG] wire - -<< " <P>Please try the following:</P>[\r][\n]" [DEBUG] wire - -<< " <UL>[\r][\n]" [DEBUG] wire - -<< " <LI>Click the <A href="javascript:location.reload()">Refresh</A> button, [\r][\n]" [DEBUG] wire - -<< " or try again later.<BR>[\r][\n]" [DEBUG] wire - -<< " <LI>Open the[\r][\n]" [DEBUG] wire - -<< " <SCRIPT>[\r][\n]" [DEBUG] wire - -<< "[0x9] <!--[\r][\n]" [DEBUG] wire - -<< "[0x9] if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0) == "2")))[\r][\n]" [DEBUG] wire - -<< "[0x9] {[\r][\n]" [DEBUG] wire - -<< "[0x9] Homepage();[\r][\n]" [DEBUG] wire - -<< "[0x9] }[\r][\n]" [DEBUG] wire - -<< "[0x9] //-->[\r][\n]" [DEBUG] wire - -<< "[0x9] </SCRIPT>[\r][\n]" [DEBUG] wire - -<< " home page, and then look for links to the information you want. [\r][\n]" [DEBUG] wire - -<< " <LI>If you typed the page address in the Address bar, make sure that it[\r][\n]" [DEBUG] wire - -<< " is spelled correctly.<BR>[\r][\n]" [DEBUG] wire - -<< " <LI>Verify that the Internet access policy on your network allows you[\r][\n]" [DEBUG] wire - -<< " to view this this page.</LI>[\r][\n]" [DEBUG] wire - -<< " <LI>If you believe you should be able to view this directory or page, [\r][\n]" [DEBUG] wire - -<< " please contact the Web site administrator by using the e-mail address or [\r][\n]" [DEBUG] wire - -<< " phone number listed on the[\r][\n]" [DEBUG] wire - -<< " <SCRIPT> Homepage();</SCRIPT>[\r][\n]" [DEBUG] wire - -<< " home page. </LI></UL>[\r][\n]" [DEBUG] wire - -<< " <H2 style="FONT: 8pt/11pt verdana; COLOR: #000000">HTTP 407 Proxy Authentication Required - The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. (12209)<BR>Internet Security and Acceleration Server</H2>[\r][\n]" [DEBUG] wire - -<< " <HR color=#c0c0c0 noShade>[\r][\n]" [DEBUG] wire - -<< "[\r][\n]" [DEBUG] wire - -<< " <P>Technical Information (for support personnel)</P>[\r][\n]" [DEBUG] wire - -<< " <UL>[\r][\n]" [DEBUG] wire - -<< " <LI>Background:<BR>The gateway could not retrieve the requested page.<P></P></LI>[\r][\n]" [DEBUG] wire - -<< " <LI>ISA Server: [REMOVED FOR PRIVACY] <BR>[\r][\n]" [DEBUG] wire - -<< " Via: <BR><BR>Time: 8/13/2003 2:22:30 PM GMT[\r][\n]" [DEBUG] wire - -<< " </LI></UL></FONT></TD></TR></TBODY></TABLE></BODY></HTML>[\r][\n]" [DEBUG] HttpMethodBase - -Should close connection in response to Proxy-Connection: close [DEBUG] HttpConnection - -Releasing connection back to connection manager. [DEBUG] HttpMethodBase - -Default charset used: ISO-8859-1 407 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE> <STYLE>A:link { FONT: 8pt/11pt verdana; COLOR: #ff0000 } A:visited { FONT: 8pt/11pt verdana; COLOR: #4e4e4e } </STYLE> <META content=NOINDEX name=ROBOTS> <META http-equiv=Content-Type content="text-html; charset=Windows-1252"> <SCRIPT> function Homepage(){ <!-- // in real bits, urls get returned to our script like this: // res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm //For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm" DocURL=document.URL; //this is where the http or https will be, as found by searching for :// but skipping the res:// protocolIndex=DocURL.indexOf("://",4); //this finds the ending slash for the domain server serverIndex=DocURL.indexOf("/",protocolIndex + 3); //for the href, we need a valid URL to the domain. We search for the # symbol to find the begining //of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker. //urlresult=DocURL.substring(protocolIndex - 4,serverIndex); BeginURL=DocURL.indexOf("#",1) + 1; urlresult=DocURL.substring(BeginURL,serverIndex); //for display, we need to skip after http://, and go to the next slash displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex); document.write('<A HREF="' + urlresult + '">' + displayresult + "</a>"); } //--> </SCRIPT> <META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD> <BODY bgColor=#ffffff> <TABLE cellSpacing=5 cellPadding=3 width=410> <TBODY> <TR> <TD vAlign=center align=left width=360> <H1 style="FONT: 13pt/15pt verdana; COLOR: #000000"><!--Problem-->The page cannot be displayed</H1></TD></TR> <TR> <TD width=400 colSpan=2><FONT style="FONT: 8pt/11pt verdana; COLOR: #000000">There is a problem with the page you are trying to reach and it cannot be displayed.</FONT></TD></TR> <TR> <TD width=400 colSpan=2><FONT style="FONT: 8pt/11pt verdana; COLOR: #000000"> <HR color=#c0c0c0 noShade> <P>Please try the following:</P> <UL> <LI>Click the <A href="javascript:location.reload()">Refresh</A> button, or try again later.<BR> <LI>Open the <SCRIPT> <!-- if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0) == "2"))) { Homepage(); } //--> </SCRIPT> home page, and then look for links to the information you want. <LI>If you typed the page address in the Address bar, make sure that it is spelled correctly.<BR> <LI>Verify that the Internet access policy on your network allows you to view this this page.</LI> <LI>If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the <SCRIPT> Homepage();</SCRIPT> home page. </LI></UL> <H2 style="FONT: 8pt/11pt verdana; COLOR: #000000">HTTP 407 Proxy Authentication Required - The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. (12209)<BR>Internet Security and Acceleration Server</H2> <HR color=#c0c0c0 noShade> <P>Technical Information (for support personnel)</P> <UL> <LI>Background:<BR>The gateway could not retrieve the requested page.<P></P></LI> <LI>ISA Server: [REMOVED FOR PRIVACY] <BR> Via: <BR><BR>Time: 8/13/2003 2:22:30 PM GMT </LI></UL></FONT></TD></TR></TBODY></TABLE></BODY></HTML>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]