This is a generic problem of accelerators doing protocol conversations, and caused by your IIS server not knowing that even if it accepted the request via http it is actually a https server in the eye of the user..
Your IIS server thinks it is a http:// server, but your clients is requesting it as a https:// server. What happens when you request http://server/directory without the trailing / is that the server sends back a browser redirect telling the client to go to http://server/directory/ instead. As the server (i.e. your IIS server) does not know the user actually requested a https:// URL it will use http:// in this redirect. Similar problems can also be seen in generated HTML by CGI scripts etc having links to the same server. Regards Henrik tis 2003-03-11 klockan 11.37 skrev Hawk: > Hi Guys, > > i'm using squid 2.5 stable1 as reverse proxy for my internet sites running > on IIS 5.0. > > internet ---> (https) ---> squid ---> (http) ----> IIS > > When i connect to https://www.mysite.com/intranet, > my browser switch me to http://www.mysite.com/intranet > > The strange thing is that if i type at bottom of URL another / like > https://www.mysite.com/intranet/ all runs correctly. > > Is a misconfiguration on my IIS? > > If try to connect from my private LAN is more strange > 192.168.1.1 --> squid > 10.1.1.1 --> IIS > > https://192.168.1.1/intranet my browser switch me to http://10.1.1.1/intranet > > obviously all run fine if i specify the last / > > Tnx in advance > > Rick -- Henrik Nordstrom <[EMAIL PROTECTED]> MARA Systems AB, Sweden
