Forum Discussion
Valentine_96813
Nimbostratus
Jun 19, 2012HTTP 1.1 monitor multiple instances
I have a need to replace current multiple monitors with one instance of an HTTP. All of the gets resolve to the same page, however, the domains are different. Basically, I am looking for //login.html but, the domain could be abc.com or def.com or ghi.com. However, in an HTTP 1.1 request, the Host header is required, although it may contain a null value.'I take this to mean that the value can be anything and does not matter meaning I could something like www.123.com in the get string for all different pools I have like below. Is this the case?
I read the sol article on creating HTTP monitors sol2167. It states '
GET //login.html HTTP/1.1\r\nHost:www.123.com \r\nConnection:Close\r\n
1 Reply
- hoolio
Cirrostratus
Hi Valentine,
If your web applications require a specific host header you'll need to create one monitor per host header. If they'll accept any host header you could specify a null host header value in an HTTP 1.1 send string or not specify the host header at all and use an HTTP 1.0 request:
HTTP 1.0:
GET /login.html HTTP/1.0\r\nConnection: close\r\n\r\n
HTTP 1.1:
GET /login.html HTTP/1.1\r\nConnection: close\r\nHost: \r\n\r\n
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects