Hello, list.
I would like to set reverse(accelerator mode) cache using squid by
namebased virtualhost.
So I set squid.conf like below, and works well.
IP of the www.test.com and www.example.com is set squid IP.
and origin server is test.com and example.com.(different server)
www.test.com IN A 1.1.1.1
www.example.com IN A 1.1.1.1
1.1.1.1 is a IP of squid.
and test.com is 1.1.1.2 , example.com is 2.2.2.2
Is there any problem to set this?
http_port 80 vhost
http_access allow all
http_reply_access allow all
cache_peer test.com parent 80 0 no-query
originserver name=web1
cache_peer_domain web1 www.test.com
cache_peer example.com parent 80 0 no-query
originserver name=web2
cache_peer_domain web2 www.example.com
_________________________________________________________________
고.. 감.. 도.. 사.. 랑.. 만.. 들.. 기.. MSN 러브
http://www.msn.co.kr/love/