Hi, I need allow all my users navigate through internet but starting at 14:00pm to 20:00pm to X pages only so before no one can access to that X pages. I need redirect when a user ask www.facebook.com to m.facebook.com I found this script but do not why don’t work #!/usr/bin/perl $mirror = "m.facebook.com"; $| = 1; while (<>) { @line = split; $_ = $line[0]; if (m/^http:\/\/((?:[a-z0-9]+\.)?\.facebook\.com)\/(.*)/ && $1 ne $mirror) { print "http://" . $mirror . "/" . $2 . "\n"; } else { print $_ . "\n"; } } Pd: I set the chmod +x to the script. Thanks any help Best regards |
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users