RE: [squid-users] Proxy AND reverse proxy

From: bret.jerome <bret.jerome@dont-contact.us>
Date: Thu, 7 Jun 2007 14:57:12 +0200

OK, I have in my squid.conf :
http_port 80 accel defaultsite=your.web.site
http_port 3128

But I don't understand what is the defaultsite.
I don't have an domain name.
I want to access to my site like this :
http://123.123.123.123/SITE/

In this case, what's the defaultsite ?
Thanks a lot.

Jérôme

-----Message d'origine-----
De : Henrik Nordstrom [mailto:henrik@henriknordstrom.net]
Envoyé : jeudi 7 juin 2007 10:45
À : bret.jerome
Cc : squid-users
Objet : RE: [squid-users] Proxy AND reverse proxy

tor 2007-06-07 klockan 09:53 +0200 skrev bret.jerome:
> My site run on port 80 on the 172.17.0.1 But my proxy cache
squid run
> on port 3128 on 192.168.150.1 In my squid.conf, i have just
this 2
> lines :
> http_port 3128 # for proxy cache
> http_port 3128 accel defaultsite=SITE # for accelerator proxy
>
> I don't understand what is the defaultsite... The IP address
of the
> server ? the name of the server ?

You can't have two http_port with the exact same port (at
least not without also binding them to different IPs on the
server)

What I would expect your configuration to look like is
something like the following:

http_port 80 accel defaultsite=your.web.site

http_port 3128

This to make Squid act as a reverse proxy for your.web.site on
port 80, and a forward Internet proxy on port 3128.

Regards
Henrik

1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
Received on Fri Jun 08 2007 - 11:44:45 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT