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/
Received on Mon Aug 21 2006 - 00:41:05 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT