Hello i think you want to do the same thing like me, here is the conf
which just have work for me:
replace free.fr and laposte.net by
www.gmail.com https://www.mail.google.com
replace 127.0.0.1 by squid's ip machine
ip 212.27.48.10 is for free.fr and 195.154.98.97 is for laposte.net checkwww.gmail.com https://www.mail.google.com ips here
Client -----> SQUID ------> free.fr
|
-------->laposte.net
so here is my conf on my windows desktop test machine, you have to
handle this with your dns system and point to squid machine:
C:\WINDOWS\system32\drivers\etc\hosts:
127.0.0.1 localhost
127.0.0.1 free.fr
127.0.0.1 laposte.net
squid.conf:
http_port 80 accel vhost
cache_peer 212.27.48.10 parent 80 0 no-query originserver name=server_1
acl sites_server_1 dstdomain free.fr
cache_peer_access server_1 allow sites_server_1
cache_peer 195.154.98.97 parent 80 0 no-query originserver name=server_2
acl sites_server_2 dstdomain laposte.net
cache_peer_access server_2 allow sites_server_2
Le 22/12/2011 11:01, System Admin a écrit :
> Hi Squid Team,
>
> I need a solution. tell me how could i redirect url's :-
> www.gmail.com& https://www.mail.google.com to -->
> https://mail.google.com/mail/u/0/h/. Simply tell me solution or coding
> . i am using Squid 2.7 and if required i can update it to 3.1. Please
> reply ASAP.. Just mail me exact solution.
>
> --
> Thanks& Regards,
> --
> Girish Dudhwal
> System Administrator | Ajani Infotech Pvt. Ltd.
> B-92 , 2nd Floor,Sector-63 , Noida | +918447224336
Received on Thu Dec 22 2011 - 10:16:08 MST
This archive was generated by hypermail 2.2.0 : Thu Dec 22 2011 - 12:00:03 MST