Differenze tra le versioni 2 e 10 (in 8 versioni)
Dimensione: 670
Commento:
|
Dimensione: 84
Commento: ixVLQX http://www.FyLitCl7Pf7kjQdDUOLQOuaxTXbj5iNG.com
|
Le cancellazioni sono segnalate in questo modo. | Le aggiunte sono segnalate in questo modo. |
Linea 1: | Linea 1: |
= Documentation = == Squid URL Rewrite == We are trying to use this {{{/usr/bin/redirect.py}}} as {{{url_rewrite_program}}} in SQUID 2.6 {{{ #!/usr/bin/python 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 == Bluetooth Totem == visit BlueToothTotem |
ixVLQX http://www.FyLitCl7Pf7kjQdDUOLQOuaxTXbj5iNG.com ---- CategoryEnglishPages |