1##############################################################
2## If you make changes in this file, you must reboot squid  ##
3## example:   squid -k reconfigure                          ##
4##############################################################
5
6##############################################################
7##                       HELP                               ##
8##############################################################
9# Globals options:
10# ================
11#
12# error_log filename    # Log file for error and startup messages.
13#                       # Comment for turn off
14# change_log filename   # Log file of change contest.
15#                       # Comment for turn off
16#
17# make-cache /usr/local/rejik3/make-cache # path to make-cache binary
18#
19# work_ip IP            # Ip adress or network
20# work_ip IP/MASK       # or file with ip for
21# work_ip f:/path/file  # who redirector work
22#
23# allow_ip IP           # Ip adress or network
24# allow_ip IP/MASK      # or file with ip for
25# allow_ip f:/path/file # who don't change any content
26#
27#
28# work_id login            # login or file with logins
29# work_id f:/path/file     # for who redirector work
30#
31# allow_id login           # login or file with logins
32# allow_id f:/path/file    # for who don't change any content
33#
34# allow_urls /path/file    # file with urls to don't redirect
35#
36# raw_change <from> <to>   # Change <from> to <to> in url
37# raw_log off              # Don't write to log changes from raw_change option
38#
39# write_hostname_to_log on # Write client hostname to change log
40#
41#####################################################################
42#
43# Sections options:  all parametrs work only for ONE section
44# =================
45# <NAME>                # Header for section
46#
47# ban_dir dirname       # Dir with rules for this section
48# url http://host/file  # url to replace
49#                       # May use: url http://host/file?var=#URL#&var2=#IP#&i=#IDENT#&m=#METHOD#&sec=#SECTION#
50#                       # #URL# #IP# #IDENT# #METHOD# #SECTION# will be change by redirector
51#
52# work_ip IP            # Ip adress(network)
53# work_ip IP/MASK       # or file with ip for
54# work_ip f:/path/file  # who section work
55#
56# allow_ip IP           # Ip adress(network)
57# allow_ip IP/MASK      # or file with ip for
58# allow_ip f:/path/file # who section don't work
59#
60#
61# work_id login         # login or file with logins
62# work_id f:/path/file  # for who section work
63#
64# allow_id login        # login or file with logins
65# allow_id f:/path/file # for who secion don't work
66#
67# log off               # Not write to log changes from this section
68# reverse               # Reverse result of search in ban dir
69# action pass           # Pass request
70#
71#############################################################
72
73error_log /usr/local/rejik3/redirector.err
74change_log /usr/local/rejik3/redirector.log
75make-cache /usr/local/rejik3/make-cache
76
77#allow_urls /usr/local/rejik3/banlists/allow_urls
78#write_hostname_to_log on
79
80<BANNER>
81ban_dir /usr/local/rejik3/banlists/banners
82url http://127.0.0.1/ban/1x1.gif
83#log off
84
85<PORNO>
86ban_dir  /usr/local/rejik3/banlists/porno
87url http://127.0.0.1/ban/porno.html
88
89<MP3>
90ban_dir /usr/local/rejik3/banlists/mp3
91url http://127.0.0.1/ban/mp3.html
92
93<JS>
94ban_dir /usr/local/rejik3/banlists/js
95url http://127.0.0.1/ban/js.js
96#log off
97