With correct acl settings all works but I have another problem
I use
s@http://www.yourdomain.com/dir1@http://10.1.1.1/dir1/@i
On dir1 page I have some links.
I see from outside:
http://10.1.1.1/dir1/link.html
instead of
http://www.yourdomain.com/dir1/link.html
and can't view link.html page.
On Tue, 13 Sep 2005 13:03:46 +0200
"Laurikainen, Tuukka" <t.laurikainen@xxxxxxxxxxxxxx> wrote:
Do you get the 403 from Squid or from the web server?
How have you set up the acl's and http_access directives?
Try changing the URL rewrite to
s@http://www.yourdomain.com/site1@http://nameoftheserver1/@i
and add to your /etc/hosts
ip-of-real-server1 nameoftheserver1
Your acl's could be for example:
acl realservers dst ip-of-realserver1 ip-of-realserver2 ...
http_access allow realservers
http_access deny all
Regards,
Tuukka
-----Original Message-----
From: Oleksii Krykun [mailto:okg@xxxxx]
Sent: Tuesday, September 13, 2005 12:21 PM
To: Laurikainen, Tuukka; Squid Users
Subject: Re: FW: Reverse Proxy Multiple IP Addresses
I did this.
But I use
s@http://www.yourdomain.com/site1@http://10.x.x./@i
It works perfectly for internal requests. But if I try from outside I get
403
error.
Appropriate strings from squid.conf are
http_port 80
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
Where is my mistake?
----
А вы в курсе как заработать на курсе?
FOREX. Дилинговый центр АКБ "Укрсоцбанк".
Работает круглосуточно.
Лиц НБУ N5 от 29.12.2001.
http://forex.ukrsotsbank.com/?ito=873&itc=8