Squid has the ability to rewrite requested URLs. Implemented as an external process (similar to a dnsserver),
Squid can be configured to pass every incoming URL through a redirector process that returns either a new URL,
or a blank line to indicate no change.
SAMS may be used a several redirectors, but SAMS doesn't insert redirector support to squid.conf. You must insert a support
string for your redirector to squid.conf.
The SAMS may use next redirectors:
SQUID perl redirector
Description of this redirector is written of the SQUID documentation.
Insert next string of the squid.conf file:
redirect_program /etc/squid/redirect.sams
SAMS redirector
This redirector is designed for SAMS and sends requests to the MySQL database.
This redirector can use different URL lists for different users.
Insert next string of the squid.conf file:
redirect_program /usr/local/bin/samsredir
Редиректор SquidGuard
Insert next string of the squid.conf file:
redirect_program /путь/к/squidguard