Search squid archive

Squid reverse and forward proxy at the same time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux