RE: [squid-users] Quick redirect from http to https

From: Phelps, Shawn <sphelps@dont-contact.us>
Date: Fri, 28 Sep 2007 13:08:22 -0700

Looks promising, we'll try that. Thanks for the info!

Shawn Phelps - sphelps@pronetsol.com
Vulnerability Management Engineer

-----Original Message-----
From: Chris Robertson [mailto:crobertson@gci.net]
Sent: Thursday, September 27, 2007 4:49 PM
To: squid-users@squid-cache.org
Subject: Re: [squid-users] Quick redirect from http to https

Phelps, Shawn wrote:
> Hello, we have a squid proxy installed by a third party product. The
agents for this product connect through the proxy to their server over
HTTP. I would like to redirect these agents to use HTTPS when going
through a particular proxy. It seems to me I will need to use a
redirector, but I couldn't find one that I could configure to simply
take the url and replace http with https then redirect to the new url.
Anyone have any idea how I can accomplish this?
>

deny_info should work in this case as well...

acl GET method GET
acl managementServer dstdomain management.example.com
http_access deny GET managementServer
deny_info https://management.example.com/%s

If I'm reading the config file documentation correctly
(http://www.squid-cache.org/Versions/v2/2.6/cfgman/deny_info.html), the
"%s" should account for deep links.

Chris

“This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.”

 

This email has been scanned by the MessageLabs Email Security System.

For more information please visit http://www.messagelabs.com/email
Received on Fri Sep 28 2007 - 14:09:22 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:03 MDT