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:[EMAIL PROTECTED] 
Sent: Monday, April 09, 2007 12:28 AM
To: Zak Thompson
Cc: [email protected]
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" <[EMAIL PROTECTED]>
To: "'Kenny Lee'" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
> Sent: Monday, April 09, 2007 12:00 AM
> To: Zak Thompson; [email protected]
> 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" <[EMAIL PROTECTED]>
> To: "'Kenny Lee'" <[EMAIL PROTECTED]>; <[email protected]>
> 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:[EMAIL PROTECTED]
>> Sent: Sunday, April 08, 2007 11:49 PM
>> To: [email protected]
>> 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
>>
>>
>
>
> 


Reply via email to