Search squid archive

Re: how to redirect certain domains to a specific url?

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

 



On 2/09/2016 1:44 p.m., mabraFoo wrote:
> I need to redirect 3 https domains to a specific url
> 
> redirect all requests for these 3 domains:
> https://first.com

Registrant Organization: Sitestar Internet Services

> https://second.com

Registrant Organization: REFLEX PUBLISHING, INC.

> https://third.com

Registrant Organization: Third Dimension

> 
> To here:
> https://specific.com/xyz/index.html
> 

Registrant Organization: Specific Media, Inc.


The 'S' in HTTPS means secure and exists for a reason. It means there
are TLS requirements that have to be obeyed which HTTP does not require.

Unless the origin server you are redirecting the CONNECT tunnel to is
able to produce a valid TLS/SSL certificate for those domain names that
can be authenticated successfully you won't be able to do it.

If it does produce the right TLS details then:

 acl 3d dstdomain first.com second.com third.com
 cache_peer specific.com parent 443 0 originserver
 cache_peer_access specific.com allow CONNECT 3d
 cache_peer_access specific.com deny all
 never_direct allow CONNECT 3d

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