Squid url redirector

Hex Artifact Content
anonymous

Hex Artifact Content

Artifact 425eb1b9a32d973e11fd7edf6cbcf2edefa1a7e470409d91a8bb7a80971c4a31:


0000: 23 20 54 68 69 73 20 66 69 6c 65 20 68 6f 6c 64  # This file hold
0010: 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20  s configuration 
0020: 70 61 72 61 6d 65 74 65 72 73 20 66 6f 72 20 73  parameters for s
0030: 71 75 69 64 2d 74 61 67 67 65 72 2e 0a 0a 23 20  quid-tagger...# 
0040: 54 68 69 73 20 73 65 63 74 69 6f 6e 20 69 73 20  This section is 
0050: 75 73 65 64 20 73 6f 6c 65 6c 79 20 66 6f 72 20  used solely for 
0060: 64 61 74 61 62 61 73 65 20 63 6f 6e 6e 65 63 74  database connect
0070: 69 76 69 74 79 2e 0a 5b 64 61 74 61 62 61 73 65  ivity..[database
0080: 5d 0a 0a 23 20 44 61 74 61 62 61 73 65 20 75 73  ]..# Database us
0090: 65 72 20 6e 61 6d 65 2e 0a 75 73 65 72 20 3d 20  er name..user = 
00a0: 75 73 65 72 5f 6e 61 6d 65 0a 0a 23 20 44 61 74  user_name..# Dat
00b0: 61 62 61 73 65 20 6e 61 6d 65 2e 0a 64 61 74 61  abase name..data
00c0: 62 61 73 65 20 3d 20 64 61 74 61 62 61 73 65 5f  base = database_
00d0: 6e 61 6d 65 0a 0a 23 20 48 6f 73 74 20 77 68 65  name..# Host whe
00e0: 72 65 20 64 61 74 61 62 61 73 65 20 73 68 6f 75  re database shou
00f0: 6c 64 20 62 65 20 61 63 63 65 73 73 65 64 2e 20  ld be accessed. 
0100: 43 61 6e 20 62 65 20 6c 65 66 74 20 65 6d 70 74  Can be left empt
0110: 79 20 66 6f 72 20 6c 6f 63 61 6c 20 61 63 63 65  y for local acce
0120: 73 73 2e 0a 68 6f 73 74 20 3d 20 68 6f 73 74 5f  ss..host = host_
0130: 6e 61 6d 65 0a 0a 23 20 50 61 73 73 77 6f 72 64  name..# Password
0140: 20 66 6f 72 20 64 61 74 61 62 61 73 65 20 61 63   for database ac
0150: 63 65 73 73 2e 0a 70 61 73 73 77 6f 72 64 20 3d  cess..password =
0160: 20 70 61 73 73 77 6f 72 64 0a 0a 23 20 54 68 69   password..# Thi
0170: 73 20 73 65 63 74 69 6f 6e 20 63 61 6e 20 62 65  s section can be
0180: 20 75 73 65 64 20 74 6f 20 74 75 72 6e 20 6f 66   used to turn of
0190: 66 20 73 6f 6d 65 20 6c 6f 67 67 69 6e 67 2e 0a  f some logging..
01a0: 5b 6c 6f 67 5d 0a 0a 23 20 54 68 65 72 65 20 77  [log]..# There w
01b0: 6f 75 6c 64 20 62 65 20 6e 6f 20 6c 6f 67 73 20  ould be no logs 
01c0: 67 65 6e 65 72 61 74 65 64 20 69 66 20 27 73 69  generated if 'si
01d0: 6c 65 6e 74 27 20 69 73 20 73 65 74 20 74 6f 20  lent' is set to 
01e0: 27 79 65 73 27 2e 0a 73 69 6c 65 6e 74 20 3d 20  'yes'..silent = 
01f0: 6e 6f 0a 0a 23 20 54 68 69 73 20 73 65 63 74 69  no..# This secti
0200: 6f 6e 20 63 6f 6e 74 72 6f 6c 20 72 65 61 63 74  on control react
0210: 6f 72 20 77 69 63 68 20 77 6f 75 6c 64 20 73 65  or wich would se
0220: 72 76 69 63 65 20 6d 61 69 6e 20 6c 6f 6f 70 2e  rvice main loop.
0230: 0a 5b 72 65 61 63 74 6f 72 5d 0a 0a 23 20 50 6f  .[reactor]..# Po
0240: 73 73 69 62 6c 65 20 72 65 61 63 74 6f 72 20 74  ssible reactor t
0250: 79 70 65 73 3a 20 70 6c 61 69 6e 2c 20 74 68 72  ypes: plain, thr
0260: 65 61 64 20 61 6e 64 20 6b 71 75 65 75 65 0a 72  ead and kqueue.r
0270: 65 61 63 74 6f 72 20 3d 20 74 68 72 65 61 64 0a  eactor = thread.