RE: [squid-users] Reverse proxy problem

From: Niti Lohwithee <[email protected]>
Date: Thu, 14 Aug 2003 14:58:19 +0700

Dear ALL.

        Additional information, when I access the web access the webmail
. The messages.log display that WARNING: Forwarding loop detected for:
GET / HTTP/1.0^M Accept: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, appli
cation/vnd.ms-excel, application/vnd.ms-powerpoint, ...............
        
        And no have any error in error.log.

        I 'm sure that I don't run web server on reverse proxy.

Any reccomment

Regards

Niti : )
        

-----Original Message-----
From: jonathan soong [mailto:jon.soong@imvs.sa.gov.au]
Sent: Thursday, August 14, 2003 2:35 PM
To: Niti Lohwithee
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Reverse proxy problem

my limited knowledge suggests that this IS an ACL issue.

check in /var/log/messages as well as var/cache.log and var/error.log
(these are in the squid directory
and contains lots of useful debug messages) for more clues

are you sure you're not running a webserver on the reverse proxy machine

on port 80?

j
Niti Lohwithee wrote:

>Dear all,
>
> I setup a reverse proxy server for internal webmail service
using
>squid2.5 stable 3. There are 4 webmail servers in the Internal Network
>. The below is the network diagram.
>
> (services: http) (services: http)
> Group of mail servers----- Central Webmail <------> Firewall
Box <----------> Internet
> |
> |
> Reverse
Proxyserver
> 11.0.0.1
(NATto 13.0.0.1)
>
>
>
> My requirement is that the webmail can be used from Internet
through
>this reverse proxy. When users access to the Central Webmail, it checks

>username and password for authentication. If pass, then redirect to one

>of the mail servers which the user's mailbox exist.
>
> At Reverse Proxy server, I've configured squid with
>--disable-internal-dns option. Webmail servers lists in the /etc/hosts
>file. Reverse Proxy server already has the real IP address and NAT by
>Firewall Box. The below is the configuration.
>
>/etc/hosts
>-------------------------
>162.xx.xx.0 centralmail
>162.xx.xx.1 webmail1
>162.xx.xx.2 webmail2
>162.xx.xx.3 webmail3
>162.xx.xx.4 webmail4
>
>
>
>
>Squid.conf
>
>http_port 80
>httpd_accel_host virtual
>httpd_accel_single_host off
>httpd_accel_uses_host_header on
>httpd_accel_with_proxy on
>httpd_accel_port 80
>
>visible_hostname centralmail
>acl all src 0.0.0.0/0.0.0.0
>http_access allow all
>
>
> The problem is when I access the webmail from both DMZ and
Internet,
>the web page returns an error message about access denied. What 's
>wrong?
>
>
>Any help is greatly appreciated!
>
>
>Regards and Thank you
>Niti : )
>
>
>
Received on Thu Aug 14 2003 - 01:57:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:54 MST