Re: Proxy's problems

At 05:23 PM 2001-12-05 , DJLynx wrote:
>Seems I can't find anything aboout my problem
>There are all about how you can configure SQUID and proxy's like squid
>

AG::

Did you look in the 'testing' sections?

Never mind.

Here's my guess:  what you need to do is send the _exact same_ HTTP request
message that you would have sent to the origin server, but send this
request to
the IP number and port of the proxy server.

A proxy server is one that won't yell at you when you ask it for a page that
isn't its page.

For sanity:

Download Lynx. <<http://lynx.browser.org/>http://lynx.browser.org/>
Configure it to use the proxy.
Turn on trace mode.
Review the action trace from how it uses the proxy.

Al

 Hypertext Transfer Protocol -- HTTP/1.1
 <http://www.w3.org/Protocols/rfc2616/rfc2616.html>http://www.w3.org/Protoc
ols/rfc2616/rfc2616.html


>----- Original Message -----
>From: Al Gilman <asgilman@iamdigex.net>
>To: DJLynx <djlynx@home.ro>
>Cc: <www-talk@w3.org>
>Sent: Thursday, December 06, 2001 12:24 AM
>Subject: Re: Proxy's problems
>
>
>> You may wish to start with
>>
>>
><<http://www.google.com/search?q=http+proxy+faq>http://www.google.com/sear
ch?q=http+proxy+faq><http://www.google.com/search>http://www.google.com/search
>> ?q=http+proxy+faq
>>
>> Al
>>
>> At 03:59 PM 2001-12-05 , DJLynx wrote:
>>
>> >
>> > Hy guys.
>> >
>> > My problem is a little bit complicated... I'm trying to write a small
>> > browser for my company..
>> >
>> > Let's say that we have a LAN , with a server connected to INTERNET. On
>this
>> > server , there is a Proxy server.
>> >
>> > Now , the only way a client can connect to internet is through that
>proxy.
>> >
>> > Now , if I do a GET
>> >
<<http://www.somesite.com/index.htm>http://www.somesite.com/index.htm><http:
//www.somesite.com/index.htm>www.somesite.com/index.htm , I get an
>> > response like of HTTP 305 error , saying that I must use
>proxy.somesite.com
>> >
>> > Now, how can I connect to that proxy ?
>> >
>> > Remeber that I have access only to my LAN's proxy. So , I must tell him
>to
>> > connect to proxy.somesite.com and issue an GET
>> >
<<http://www.somesite.com/index.htm>http://www.somesite.com/index.htm><http:
//www.somesite.com/index.htm>www.somesite.com/index.htm
>> >
>> > I understood that is something called PROXY CASCADE.
>> >
>> > Now , my question is how can I do that ?
>> >
>> > I'm using sockets for network programming....
>> >
>> >
>> >
>> > Thanks
>>
>>
>>
>>
>  

Received on Thursday, 6 December 2001 10:41:43 UTC