[squid-users] deny_info replace full URL

From: Brad Taylor <[email protected]>
Date: Tue, 15 Feb 2005 23:53:14 -0500

Using squid in reverse proxy mode I'm able to force https by the
following (Thanks to Henrik):

http_access deny port80
deny_info https://www.your.site/ port80

This works great but does not maintain full URL (query stings, etc)

Before Squid this was done in the web code (VB script) like this:

urlBase = Request.ServerVariables ("SERVER_NAME")
urlEnd = Request.ServerVariables ("URL")
urlEnd = urlEnd & "?" & Request.ServerVariables ("QUERY_STRING")
Response.Redirect "https://" & urlBase & urlEnd

Is there some way this could be done with squid? Preferably in the
squid.conf file.
Thanks for any help with this.

Brad
Received on Tue Feb 15 2005 - 21:55:27 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST