[squid-users] Squid reverse and forward proxy at the same time

From: Uto Cen <utopian.centaury@dont-contact.us>
Date: Thu, 20 Mar 2008 12:10:48 +1030

Hi,
I'm having difficulties configuring squid on the same box for this scenario:

- Backend origin apache on port 8080 (hosting a test site for mydomain.com.
Real server for mydomain.com hosted somewhere else on the Internet)
- squid on port 80 for reverse proxy clients
- squid on port 3128 for forward proxy clients

The box is also used as a test server. Testers are on 192.168.100.0/24.
All other users on other internal subnets.

Current configuration is such that all users hit squid and go out to the
internet EXCEPT for mydomain.com, where they will be hitting the origin
apache server (local test server).
But we would like to configure so that the exception applies to only
developers from subnet 192.168.100.0/24.
Is this even possible?

Current relevant config;

http_port 80 vhost vport accel
http_port 3128
cache_peer 127.0.0.1 parent 8080 0 originserver default login=PASS no-query
cache_peer_domain 127.0.0.1 .mydomain.com

TIA
Received on Wed Mar 19 2008 - 19:41:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT