Re: [squid-users] Squid/Squirm question

From: Chris Robertson <crobertson_at_gci.net>
Date: Thu, 16 Apr 2009 12:48:15 -0800

Mohr, Gene wrote:
> Hello,
>
> We are running 3 servers with Squid 2.7(latest version) with the squirm
> redirector (changing once we move to 3.0) behind a load balancer. We
> have a need to pass the requesting IP address through squid/squirm to
> the drupal based web site. Is this possible? Currently the web server
> access logs only show the IPs for squid servers. This breaks some of the
> commenting and poll modules within drupal as they rely on unique IPs.
>

I think this was fixed in Drupal 6
(http://api.drupal.org/api/function/ip_address/6), where they started
taking advantage of the X-Forwarded-For header. It appears you might
have to define your reverse_proxy_addresses.

> Thanks in advance!
>
> Gene Mohr
> Duty Manager
> SAN/Fabric Engineer
> MTS/Internet and Hosting Services
>

Chris
Received on Thu Apr 16 2009 - 20:48:23 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 17 2009 - 12:00:02 MDT