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
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
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
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 [
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
>
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
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
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