Search squid archive

Re: Block word in a URL part

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux