RE: [squid-users] Reverse Proxy

From: Mario Almeida <malmeida_at_isaaviation.ae>
Date: Sun, 17 Aug 2008 16:44:59 +0400

Hi All,

Below is the setting I have done to test a reverse proxy

http_port 3128 accel defaultsite=xyz.example.com vhost

cache_peer 172.27.1.10 parent 8080 0 no-query originserver name=server1
acl server1_acl dstdomain www.xyz.example.com xyz.example.com
cache_peer_access server1 allow server1_acl
cache_peer_access server1 deny all

But could not get it done
Bellow is the error message what I get

ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http:// xyz.example.com /

The following error was encountered:

    * Unable to forward this request at this time.

This request could not be forwarded to the origin server or to any parent
caches. The most likely cause for this error is that:

    * The cache administrator does not allow this cache to make direct
connections to origin servers, and
    * All configured parent caches are currently unreachable.

Your cache administrator is root.

Regards,
Remy

-----Original Message-----
From: Brie Gordon [mailto:brie.gordon_at_gmail.com]
Sent: Wednesday, August 13, 2008 11:04 PM
To: malmeida_at_isaaviation.ae
Cc: squid-users_at_squid-cache.org
Subject: Re: [squid-users] Reverse Proxy

On Wed, Aug 13, 2008 at 2:55 PM, Mario Almeida <malmeida_at_isaaviation.ae>
wrote:
> Hi All,
>
> I would like to know how to configure a reverse proxy for the bellow
setup.
>
> Squid Proxy IP:Port = 172.27.1.1:80
>
>
> Web Servers:
> 1) 172.27.1.10:8080
> 2) 172.27.1.10:8081
> 3) 172.27.1.11:8080
> 4) 172.27.1.11:8081
> 5) 172.27.1.12:8080
> 6) 172.27.1.12:8081
>
> Regards,
> Remy
>
>

You might want to start here:
http://www.visolve.com/squid/whitepapers/reverseproxy.php
http://wiki.squid-cache.org/SquidFaq/ReverseProxy

-- 
Regards,
Brie A. Gordon
A Linux Chica
http://granite.sru.edu/~bag6849/index.html
Received on Sun Aug 17 2008 - 12:45:24 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 20 2008 - 12:00:04 MDT