With correct acl settings all works but I have another problem
I use
 [EMAIL PROTECTED]://www.yourdomain.com/[EMAIL PROTECTED]://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" <[EMAIL PROTECTED]> 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

[EMAIL PROTECTED]://www.yourdomain.com/[EMAIL PROTECTED]://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:[EMAIL PROTECTED]
Sent: Tuesday, September 13, 2005 12:21 PM
To: Laurikainen, Tuukka; Squid Users
Subject: Re: FW: [squid-users] Reverse Proxy Multiple IP Addresses

I did this.
But I use

[EMAIL PROTECTED]://www.yourdomain.com/[EMAIL PROTECTED]://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

Reply via email to