Documentation
Squid URL Rewrite
We are trying to use this /usr/bin/redirect.py as url_rewrite_program in SQUID 2.6
import sys 
while True:
        line = sys.stdin.readline().strip()
        list = line.split(' ')
        url = list[0]
        if (url.find("google") != -1 and url.find("q=") == -1):
                sys.stdout.write("301:http://10.10.0.1/")
                sys.stdout.flush()
        else:
                sys.stdout.write(url+"\n")
                sys.stdout.flush()but is not working  any python guru ?? Contact Raffaele
 any python guru ?? Contact Raffaele 
Bluetooth Totem
visit BlueToothTotem

 
  
 




