Amos, thank you. So as far as I understood, there is no way to use squid to block that, right?
What could be a good solution? Block the whole URL?
Thank you once again.
Felipe
De: squid3@xxxxxxxxxxxxx
Enviada: Terça-feira, 21 de Julho de 2015 05:40
Para: squid-users@xxxxxxxxxxxxxxxxxxxxx
Assunto: Block word in a URL part
On 21/07/2015 5:24 a.m., Felipe Almeida wrote:
> Hi all,
>
> I have a problem here where I need to block some words within a search result in a URL.
>
> For example, a I have those two URLs below:
>
> https://www.youtube.com/results?search_query=porn
> ------
> and
>
> https://www.google.com.br/?gfe_rd=cr&ei=EC2tVcjaE_Op8weMyYDoDw&gws_rd=ssl#q=porn
> ------
>
> In these two URLs the word "porn" is there, as a query search result.
>
> Is there a way to create a blocking rule for that? So if a user type that word in a search engine, squid will block it.
>
> I searched for this kind of configuration in the past emails here but couldn't find it anything regarding this.
>
URL #fragment are not sent "over the wire" as it were. Squid can do
nothing about that.
For the former there is urlpath_regex ACLs.
Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users