Squid url redirector

Annotation For readme.txt
anonymous

Annotation For readme.txt

Origin for each line in readme.txt from check-in d500448801:

d500448801 2009-10-05    1: Here is a sample squid configuration:
d500448801 2009-10-05    2: 
d500448801 2009-10-05    3: url_rewrite_program /path/to/squid-tagger/squid-tagger.py
d500448801 2009-10-05    4: url_rewrite_children 1
d500448801 2009-10-05    5: url_rewrite_concurrency 1024
d500448801 2009-10-05    6: 
d500448801 2009-10-05    7: You need to create database with specific user for squid-tagger like this:
d500448801 2009-10-05    8: 
d500448801 2009-10-05    9: CREATE ROLE squidtag WITH login password 'password';
d500448801 2009-10-05   10: CREATE DATABASE squidtag WITH OWNER squidtag;
d500448801 2009-10-05   11: 
d500448801 2009-10-05   12: After that database should be populated with:
d500448801 2009-10-05   13: 
d500448801 2009-10-05   14: psql -f /path/to/squid-tagger/database.sql -U squidtag squidtag
d500448801 2009-10-05   15: 
d500448801 2009-10-05   16: You also should create config file needed by squid-tagger to access database,
d500448801 2009-10-05   17: by default squid-tagger searches this file in /usr/local/etc/ on behalf of
d500448801 2009-10-05   18: bsd-style config file locations. But this can be overridden with -c command
d500448801 2009-10-05   19: line switch.
d500448801 2009-10-05   20: 
d500448801 2009-10-05   21: Sample configuration file is also included. Note that you should set file
d500448801 2009-10-05   22: ownership to squid and rewoke any reading privileges from group and others.
d500448801 2009-10-05   23: 
d500448801 2009-10-05   24: squid-tagger logs all messages through the syslog facility. They can be
d500448801 2009-10-05   25: obtained and saved with:
d500448801 2009-10-05   26: 
d500448801 2009-10-05   27: [/etc/syslog.conf]
d500448801 2009-10-05   28: !squidTag
d500448801 2009-10-05   29: *.* /var/log/squidTag
d500448801 2009-10-05   30: 
d500448801 2009-10-05   31: [/etc/newsyslog.conf]
d500448801 2009-10-05   32: /var/log/squidTag 644 7 1024 * J
d500448801 2009-10-05   33: 
d500448801 2009-10-05   34: Remeber to create the file and restart syslog afterwise.