Re: [squid-users] Trailing Slash / Using Reverse Proxy

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 08 Jan 2007 16:38:42 +0100

mån 2007-01-08 klockan 09:44 -0500 skrev Brad Taylor:

> Request for https://www.example.com/test will not work through Squid but
> IIS will add the trailing slash https://www.example.com/test/

What happens here is that the web server says "Sorry, the URL you
requested is not valid. You should go to http://my.server.name/test/
instead.

> Going through Squid the browser receives "The page cannot be displayed"
> with the address as http://10.10.1.108/test/ The IP address is the
> internal IP address of the IIS web server and the request changed from
> https to http.

Set up the reverse proxy not rewriting the Host name component and
things will work much better. This way the web server knows it's
external name and the URLs generated by the web server will be correct.

REgards
Henrik

Received on Mon Jan 08 2007 - 08:38:49 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST