Re: Haproxy 1.4 url redirection issue

2014-03-07 Thread Baptiste
Amol, The second log lines clearly shows that your application server is redirecting your user :) Baptiste On Thu, Mar 6, 2014 at 4:53 AM, Amol mandm_z...@yahoo.com wrote: so after looking at haproxy logs i noticed 2 things if i type www.xx.com there is 1 log entry haproxy[26387]:

Re: Haproxy 1.4 url redirection issue

2014-03-05 Thread Amol
Hi Neil, I tried something similar, by putting the servername and setting UseCanonicalName On... but what i observe is that when i access my website with just xx.com in the browser, it directs to https://www.xx.com but if i start fresh and access my website with www.xx.com and the next

Re: Haproxy 1.4 url redirection issue

2014-03-05 Thread Amol
so after looking at haproxy logs i noticed 2 things if i type www.xx.com there is 1 log entry haproxy[26387]: xx.11.11.118:62704 [05/Mar/2014:22:48:02.264] http-in if-https/if1-app 10734/0/0/403/11137 200 10448 - - --VN 20/20/3/1/0 0/0 GET / HTTP/1.1 but when i type xx.com i see 2 log

Re: Haproxy 1.4 url redirection issue

2014-03-03 Thread Neil - HAProxy List
Hello Amol Here is an example of the sort of thing I use The 3 important things for are ServerName https://servicename.domain.com:443 SetEnv HTTPS on UseCanonicalName On VirtualHost *:8080 ServerName https://servicename.domain.com:443 ## Vhost docroot DocumentRoot /var/www/ ##

Re: Haproxy 1.4 url redirection issue

2014-03-01 Thread Baptiste
Hi More chance to get an answer from Apache 2.2 and wordpress people... Baptiste On Fri, Feb 28, 2014 at 4:12 PM, Amol mandm_z...@yahoo.com wrote: well the application behind haproxy in this case is wordpress on apache2.2, any settings there? On Friday, February 28, 2014 4:57 AM,

Re: Haproxy 1.4 url redirection issue

2014-02-28 Thread Baptiste
It may not fix the issue. But at least the configuration will do what you expect from it... That said, the issue may be in the application too :) It is commonly seen that applications don't behave properly when SSL offloading is enabled in front of them. Baptiste On Thu, Feb 27, 2014 at 4:16

Re: Haproxy 1.4 url redirection issue

2014-02-28 Thread Amol
could it also be due to the apache settings on the application server where i have setenv HTTPS on ? here is a snippet from my apache2 default.conf file VirtualHost *:80     ServerAdmin webmaster@localhost     DocumentRoot /var/www     Directory /         Options FollowSymLinks        

Re: Haproxy 1.4 url redirection issue

2014-02-28 Thread Amol
well the application behind haproxy in this case is wordpress on apache2.2, any settings there? On Friday, February 28, 2014 4:57 AM, Baptiste bed...@gmail.com wrote: It may not fix the issue. But at least the configuration will do what you expect from it... That said, the issue may be in