This weekend we tried to deploy our Squid cache without success. Here
is our setup:
Network is setup with all private IP address 10.10.1.x. Public IP
addresses are mapped 1 to 1 on our firewall. For example:
y.y.y.y (private address) maps to 10.10.1.11 (Squid)
Squid is setup to proxy for 10.10.1.21
Our web code on 10.10.1.21 has the following in the default web page:
'STEP 3 : Encrpytion Check
public sub switchHTTPS ()
dim serverPort443
dim onHTTPs
dim urlEnd
dim urlBase
serverPort443 = (Request.ServerVariables ("SERVER_PORT")
= 443)
onHTTPs = (Request.ServerVariables ("HTTPS") = "on")
if not (serverPort443 and onHTTPs) then
urlBase = Request.ServerVariables
("SERVER_NAME")
urlEnd = Request.ServerVariables ("URL")
urlEnd = urlEnd & "?" & Request.ServerVariables
("QUERY_STRING")
Response.Redirect "https://" & urlBase & urlEnd
end if
end sub
if Session("SSL") = "1" then
Call switchHTTPS()
end if
I think this is what is causing the problem because when I comment out
"Call switchHTTS()" Squid appears to work. How could we still force
HTTPS but loose the redirect? Or could I be missing something else?
Thanks for any help
Received on Sun Jan 30 2005 - 18:29:05 MST
This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:36 MST