Author: Angel Ruiz
URL: http://www.brazilfw.com.br/users/angelruiz/addons/redirector/redirector.tgz
Add-on State: Testing
Add-on Version: 0.1
Original Project Version: 0.1
Original Project URL: Developed by Angel Ruiz
System Version Required: any
Other Packages Required: This version of PERL
Other Packages Conflict: Unknown
CAPTIVE REDIRECTOR 1.0 is:
An advanced re-director for Squid written in PERL.
1. It allows per IP blocking.
2. It allows url black list to replace with a personalized notice.
3. It allows inserting advertisements or informative notices in the surfed page which are automatically sent every hour (configurable).
4. It allows redirecting URL to URL
- Create a file and write pairs of urls like this:
- Código: Selecionar todos
http://www.redtube.com http://www.vatican.va/phome_sp.htm
- Código: Selecionar todos
http://www.google.com.br/intl/en_com/images/logo_plain.png http://www.youpage.com/angelr.jpg
http://www.google.com.ar/intl/en_com/images/logo_plain.png http://www.juanillo.com/ramiro.jpg
http://www.google.com.co.ve/intl/en_com/images/logo_plain.png http://www.nacho.com/gamba.jpg
In this way when the user requests redtube, vatican.va will be shown.
We can can also replace images, banners, etc. For exapmple, to replace google's logo:
Just remember that the URLs must be in pairs:
Url_A Url_B
Url_C Url_d
5. You must add to squid.conf and squid_2.tpl the following line:
- Código: Selecionar todos
url_rewrite_program /redirector/redirector.pl