I have deployed squid 3.4.8. It's primary purpose is to redirect users to internal landing pages since no Internet access is permitted or enabled on this network. Instead of letting browsers time out, we want to notify users immediately. I have no problems redirecting HTTP to a landing page (stop.html). The squid proxy listens on 8888. The landing pages listen on 10.5.5.100:8000
How do I redirect all outbound HTTPS requests and redirect them to a landing page? My squid access.log shows the following error for an HTTPS request:
TCP_DENIED/302 321 CONNECT
The relevant squid.conf file is as follows:
acl internaltraffic dst 10.0.0.0/8 #internal traffic only
acl CONNECT method CONNECT
http_access deny CONNECT all
http_access allow internaltraffic
http_access allow localhost
deny_info http://10.5.5.100:8000/stop.html all
deny_info 302:http://10.5.5.100:8000/stop.html CONNECT
http_access deny all
http_port 8888