[squid-users] Block word in a URL part

Felipe Almeida skyvolt at zipmail.com.br
Mon Jul 20 17:24:25 UTC 2015


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.
 
Thank you.


More information about the squid-users mailing list