07-19-2012 08:59 AM
I have a customer who is requesting a https probe to query their web application and I'm having some issues.
Probe configuration is below
probe https HTTPS
interval 60
recieve 30
ssl version TLSv1
request method get url /total/probe.aspx
expect status 200 200
connection term forced
Evertime I apply the probe to the server farm I receive a status code of 404. I've been back and forth with the server guy and he informs that I cannot send out a request to the server directly to the IP and it has to use the hostname.
In other words, the server will not answer to
https://10.10.10.10/total/probe.aspx
and will only answer to
https://<dns hostname>/total/probe.aspx
Does anyone know if there is anything I can do in the ACE to fix this or does he have to modify his web server?
Thanks in advance.
PP
07-19-2012 09:24 AM
Hi,
In the probe definition you can specify an HTTP header value:
probe https HTTPS
...
header Host header-value www.whatever.com
HTH
Cathy
07-19-2012 09:57 AM
I have this probe applied to a serverfarm of 5 servers. How would I do this header host command to reflect the different url's of each rserver?
In other words....
https://testserver1.test.domain/total/probe.aspx
https://testserver2.test.domain/total/probe.aspx
https://testserver3.test.domain/total/probe.aspx
etc..
I'm thinking that you are saying to do this?
probe https HTTPS
interval 60
recieve 30
ssl version TLSv1
request method get url /total/probe.aspx
expect status 200 200
header host header-value "test.domain"
connection term forced
07-20-2012 12:38 AM
> I'm thinking that you are saying to do this
Correct.
The HTTP header information only has a tenuous connection with the IP address of the server. The probe is sent to the IP address of each rserver in the serverfarm with the host header set to the DNS name of the site. Each rserver has to provide the webpage for https://test.domain/total/probe.aspx (in your example).
Kind Regards
Cathy
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide