Re: [Pound Mailing List] Send login and register to https - redirect loop

2013-01-15 Thread mark hardwick
Hi All Scott, Ivo, thanks for your help with my problem. It took a little playing around but I got there in the end. I ended up using the AddHeader method because I could get it to work in both directions more easily. I.e. Forcing access to login / register to be https while also forcing access t

Re: [Pound Mailing List] Send login and register to https - redirect loop

2013-01-15 Thread Scott McKeown
Hi Mark, Not a problem. What you would need then is a mix of both my HTTP Listener and yours. I've not actually tried to do this myself but I would think it should look something like this: ListenHTTP Address 91.187.69.155 Port80 Service Url "/login*" Hea

Re: [Pound Mailing List] Send login and register to https - redirect loop

2013-01-15 Thread Scott McKeown
Hi Mark, Not a problem. What you would need then is a mix of both my HTTP Listener and yours. I've not actually tried to do this myself but I would think it should look something like this: ListenHTTP Address 91.187.69.155 Port80 Service Url "/login*" Hea

Re: [Pound Mailing List] Send login and register to https - redirect loop

2013-01-15 Thread poundlist
hi mark i add this to the listenHTTPS AddHeader "IS_SSL: SSL" so http-requests on apache side that entered as https to pound got this header. then i do something like this on apache: RewriteEngine On RewriteCond %{HTTP:IS_SSL} !^SSL$ RewriteRule ^(.*) https://site.com/$1 [

Re: [Pound Mailing List] Send login and register to https - redirect loop

2013-01-15 Thread mark hardwick
Hi Scott Thanks for your help. That seems to redirect every page to https? I only want to direct login and register to https if possible. Cheers Mark. On Jan 15, 2013, at 11:22 AM, Scott McKeown wrote: > Hi Mark, > > Personally I would be tempted to use the 'Redirect' directive in your pound >

Re: [Pound Mailing List] Send login and register to https - redirect loop

2013-01-15 Thread Scott McKeown
Hi Mark, Personally I would be tempted to use the 'Redirect' directive in your pound configuration file under the HTTP listener but keep the HTTPS listener as it is. So replace your HTTP Listener with something like this: ListenHTTP Address 91.187.69.155 Port80 Service

Re: [Pound Mailing List] Send login and register to https - redirect loop

2013-01-15 Thread mark hardwick
Of course, I see what's happening now, pound is seeing a request to https://site.com/login, decrypting the connection, sending it to http://site.com/login which is then redirecting the request back to https. therefore a loop. ok, so what is the right way to tackle this problem? thanks mark. On

[Pound Mailing List] Send login and register to https - redirect loop

2013-01-15 Thread mark hardwick
Hi All, I'm fairly new to both pound and apache configuration. I think the issue I'm having is with pound configuration, but please excuse me if it's actually apache. Ok, I want to configure my site so that if people head to http://site.com/login they are redirected to https://site.com/login b