Re: [squid-users] Reverse Proxy

From: Kenny Lee <kenny.lee@dont-contact.us>
Date: Mon, 9 Apr 2007 12:27:34 +0800

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 Sun Apr 08 2007 - 22:25:29 MDT

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