[squid-users] Forcing Header in Reverse Proxy

From: Roman Gelfand <rgelfand2_at_gmail.com>
Date: Sun, 15 Jan 2012 23:36:15 -0500

I have setup configuration to forward requests to a backend server...

acl dspam urlpath_regex ^/mesg
https_port 443 cert=/etc/certs/mail.pem key=/etc/certs/mail.key vhost vport
cache_peer host.mydomain.com parent 80 0 no-query originserver
name=mail login=PASS
cache_peer_access mail allow mail
cache_peer_access mail deny all
never_direct allow !localnet
http_access allow !localnet

The problem is host mail resolves to mesg.mydomain.com instead of
mail.mydomain.com. How can I force the header to be
mesg.mydomain.com?

Thanks in advance
Received on Mon Jan 16 2012 - 04:36:25 MST

This archive was generated by hypermail 2.2.0 : Mon Jan 16 2012 - 12:00:02 MST