RE: [squid-users] Reverse Proxy

From: Zak Thompson <zak@dont-contact.us>
Date: Mon, 9 Apr 2007 00:56:49 -0400

At the same time? Same process? Not sure but you can run multiple processes.
.. just tel squid to use a diff config file.

-
Zak

-----Original Message-----
From: Kenny Lee [mailto:kenny.lee@esmtt.com]
Sent: Monday, April 09, 2007 12:54 AM
To: Zak Thompson
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Reverse Proxy

Hi Zak,

can i have the Reverse Proxy and the Normal Proxy togather at the same time?

which i like to use the Reverse Proxy to let outsider to browse my backend
web server, and at the same time, my internal user can use that proxy to
surf net ...

Thank you

Regards,
Kenny

----- Original Message -----
From: "Zak Thompson" <zak@moveclicks.com>
To: "'Kenny Lee'" <kenny.lee@esmtt.com>
Cc: <squid-users@squid-cache.org>
Sent: Monday, April 09, 2007 12:31 PM
Subject: RE: [squid-users] Reverse Proxy

> Upgrade to 2.6stable12
>
> That's not a reverse proxy.. a reverse proxy is when you use the internet
> to
> hit your backend server. i.e your serving web pages to the world
>
> Reverse is this (flow down)
>
> Internet
> |
> Squid
> |
> Backend
>
> Not (normal,transparent)
>
> Internet
> ^
> |
> Squid
> ^
> |
> Backend
>
> Clear the cache? Rm the cache dirs and re-create?
>
> -
> Zak
>
> -----Original Message-----
> From: Kenny Lee [mailto:kenny.lee@esmtt.com]
> Sent: Monday, April 09, 2007 12:28 AM
> To: Zak Thompson
> Cc: squid-users@squid-cache.org
> Subject: Re: [squid-users] Reverse Proxy
>
> hi Zak,
>
> i have tried with the command you gave below, and my squid came out this
> error ...
> Shutting down WWW-proxy squid FATAL: Bungled squid.conf line 73: http_port
> 81 accel vhost vport=80
> Squid Cache (Version 2.6.STABLE5): Terminated Abnormally.
>
> then i tried to remove the word "accel" from the command, and it able to
> restart the squid service. But another problem came out ... now i able to
> view my website from backend web server, but when i search others website
> like www.google.com, www.yahoo.com ... all point back to my web server.
>
> anyway how to clear the squid cache? coz eventhough now i have clear my
> local PC cache, and change back the setting of squid.conf, the proxy
> server
> still redirect me to my web server while i browse to others website.
>
> Please help ... thank you
>
> Regards,
> Kenny
>
>
> ----- Original Message -----
> From: "Zak Thompson" <zak@moveclicks.com>
> To: "'Kenny Lee'" <kenny.lee@esmtt.com>
> Sent: Monday, April 09, 2007 12:00 PM
> Subject: RE: [squid-users] Reverse Proxy
>
>
>>I am using 2.6 and that's how I have mine setup, you can set your proxy
>>port
>> to whatever. Just make sure your parent peer is set to its web port.
>>
>> -
>> Zak
>> -----Original Message-----
>> From: Kenny Lee [mailto:kenny.lee@esmtt.com]
>> Sent: Monday, April 09, 2007 12:00 AM
>> To: Zak Thompson; squid-users@squid-cache.org
>> Subject: Re: [squid-users] Reverse Proxy
>>
>> hi Zak,
>>
>> i am using squid 2.6 stable5, the word "accel" still able to be used in
>> suqid.conf ?
>> the port 8080 is the proxy port? can i set it to 81 ?
>>
>> thank you
>>
>> Regards,
>> Kenny
>>
>> ----- Original Message -----
>> From: "Zak Thompson" <zak@moveclicks.com>
>> To: "'Kenny Lee'" <kenny.lee@esmtt.com>; <squid-users@squid-cache.org>
>> Sent: Monday, April 09, 2007 11:52 AM
>> Subject: RE: [squid-users] Reverse Proxy
>>
>>
>>> Just set your parent peers to the backend servers.
>>>
>>> Set squid to listen on a port
>>> http_port 8080 accel vhost vport=80
>>> cache_peer 192.168.30.32 parent 80 0
>>> no-query originserver login=PASS
>>>
>>> just make sure your http_access mask are correct.. that's all there is
>>> to
>>> it
>>> really. Squid will send all the requests to your cache_peer and magick
>>> happens :)
>>>
>>> -Zak
>>>
>>> -----Original Message-----
>>> From: Kenny Lee [mailto:kenny.lee@esmtt.com]
>>> Sent: Sunday, April 08, 2007 11:49 PM
>>> To: squid-users@squid-cache.org
>>> Subject: [squid-users] Reverse Proxy
>>>
>>> hi all,
>>>
>>> can anyone show me some samples to setup a reverse proxy in squid.conf?
>>>
>>> thank you
>>>
>>> Regards,
>>> Kenny
>>>
>>>
>>
>>
>>
>
>
>
Received on Mon Apr 09 2007 - 14:57:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT