Post Reply 
Redirect http to https of the same domain.
Mar. 17, 2019, 08:26 PM (This post was last modified: Mar. 17, 2019 08:30 PM by vlad_s.)
Post: #2
RE: Redirect http to https of the same domain.
Due to the operation of ProxHTTPSProxyMII, the redirects action cannot be performed. It turns out an endless redirect. For example http://example.com to https://example.com. If you redirect to another site, then there is no problem, http://example.com to https://example2.com. How can you solve this problem? You can try to make filters for Privoxy, but I acted differently. On top of that, I use a squid proxy server, he also knows how to redirect. Add the following lines to its config:
Code:
acl PORT80 localport 80
acl MYSITE dstdomain "/etc/squid/redirect"
http_access deny PORT80 MYSITE
deny_info 301:https://%H%R MYSITE
Create a redirect file at the specified path and fill in the necessary sites, one line - one site. Perform "squid -k reconfigure". We use. Thanks Smile!.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Redirect http to https of the same domain. - vlad_s - Mar. 17, 2019 08:26 PM

Forum Jump: