On 18 Dec 2010, at 22:00, Chris Knight wrote: > On Mon, Dec 6, 2010 at 8:25 PM, Iain Barnett <[email protected]> wrote: >> Hi, >> >> I'm trying to use RewriteLocation to redirect HTTP to HTTPS on the same >> server, but I'm failing and can't find a single example of how to use this >> directive successfully. The man page hasn't illuminated me at all. >> >> If anyone could share a link or an example to get me started I would be very >> grateful. > > > ## www.DOMAIN.com > ListenHTTP > Address AAA.BBB.CCC.DDD > Port 80 > Client 10 > Service > redirect "https://www.DOMAIN.com" > End > End
Thanks for that. That redirects all http to https, but if an http request goes through the backend and it responds with a redirect and a location with https scheme then Pound will still push it through to http. I'm not sure why, I checked that the backend was setting the location field properly in the header, but couldn't find a Pound config that worked. Moved over to Nginx and it works so I can only say that it is a problem with Pound. Regards, Iain -- To unsubscribe send an email with subject unsubscribe to [email protected]. Please contact [email protected] for questions.
