Forum Discussion
http monitor failed
- Dec 05, 2014
If you use HTTP/1.1, the Host: header is required. You can try a simple GET request without an HTTP version and so on, but some web servers won't like it. My recomendation would be to include HTTP version, include the Host header, and also send a connection close.
Send: GET /asad/adaasdfas/!asdfasd?pyActivity=Code-Security.EndSession&pzAuth=guest HTTP/1.1\r\nHost: hostname\r\nConnection: close\r\n\r\n
If you want to match anything between 200 and 399 as a response, you will need to use a regular expression in the receive string. My recommendation would be to use a request that produces a consistent result so you don't have to guess.
Receive: [23][0-9][0-9]
Sorry that is just an example - you may not require all these options.
- adrian_171483Dec 05, 2014CirrusHi, Really sorry as youve been good enough to reply.. i just dont get why all the guff on the end is required.. surley a simple GET and response between 200 and 399 is fine as it was before. I just cannot find any simple solutions to a simple requirement with F5..
Recent Discussions
Related Content
* 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