##############################################################
## If you make changes in this file, you must reboot squid  ##
## example:   squid -k reconfigure                          ##
##############################################################   

##############################################################
##                       HELP                               ##
##############################################################
# Globals options:
# ================
#
# error_log filename    # Log file for error and startup messages.
#                       # Comment for turn off
# change_log filename   # Log file of change contest.
#                       # Comment for turn off
#
# make-cache /usr/local/rejik3/make-cache # path to make-cache binary
#
# work_ip IP		# Ip adress or network
# work_ip IP/MASK	# or file with ip for
# work_ip f:/path/file	# who redirector work
#
# allow_ip IP		# Ip adress or network
# allow_ip IP/MASK	# or file with ip for
# allow_ip f:/path/file # who don't change any content
#
#
# work_id login		# login or file with logins
# work_id f:/path/file 	# for who redirector work
#
# allow_id login	# login or file with logins
# allow_id f:/path/file # for who don't change any content
#
# allow_urls /path/file # file with urls to don't redirect
#
# raw_change <from> <to># Change <from> to <to> in url
# raw_log off           # Don't write to log changes from raw_change option
#
##############################################################
#
# Sections options:  all parametrs work only for ONE section
# =================
# <NAME>                # Header for section
#
# ban_dir dirname       # Dir with rules for this section
# url http://host/file  # url to replace
#			# May use: url http://host/file?var=#URL#&var2=#IP#&i=#IDENT#&m=#METHOD#&sec=#SECTION#
#                       # #URL# #IP# #IDENT# #METHOD# #SECTION# will be change by redirector
#
# work_ip IP		# Ip adress(network)
# work_ip IP/MASK	# or file with ip for
# work_ip f:/path/file	# who section work
#
# allow_ip IP		# Ip adress(network)
# allow_ip IP/MASK	# or file with ip for
# allow_ip f:/path/file # who section don't work
#
#
# work_id login		# login or file with logins
# work_id f:/path/file 	# for who section work
#
# allow_id login	# login or file with logins
# allow_id f:/path/file # for who secion don't work
#
# log off		# Not write to log changes from this section
# reverse		# Reverse result of search in ban dir
# action pass		# Pass request
#
#############################################################

error_log /cygdrive/c/rejik3/redirector.err
change_log /cygdrive/c/rejik3/redirector.log
make-cache /cygdrive/c/rejik3/make-cache
#allow_urls /cygdrive/c/rejik3/banlists\allow_urls

<BANNER>
ban_dir /cygdrive/c/rejik3/banlists/banners
url http://127.0.0.1/ban/1x1.gif
#log off

<PORNO>
ban_dir  /cygdrive/c/rejik3/banlists/porno
url http://127.0.0.1/ban/porno.html

<MP3>
ban_dir /cygdrive/c/rejik3/banlists/mp3
url http://127.0.0.1/ban/mp3.html
