May be, because of FB is some years ago under HTTPS?
17.01.2018 03:17, Aismel пишет: > > 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 > <http://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@lists.squid-cache.org > http://lists.squid-cache.org/listinfo/squid-users -- ***************************** * C++20 : Bug to the future * *****************************
_______________________________________________ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users