Forum Discussion
Young_25175
Jun 19, 2014Nimbostratus
syntax for simple http monitor
Hi,
I would like to create an http monitor that goes to this sample page http://www.whatever.com/default.aspx. I am struggling with the syntax to put in the send string to accomplish this. Wha...
- Jun 19, 2014
GET /default.aspx HTTP/1.1\r\nHost: www.whatever.com\r\nConnection: Close\r\n\r\n
If you use the HTTP iApp template, entitled 'f5.http', that's included with your BIG-IP system, it'll set up the monitor for you. You just need to provide the FQDN (www.whatever.com), and the requested resource (the default is "/", and in your case you'd change it to "/default.aspx").
mimlo_61970
Jun 19, 2014Cumulonimbus
GET /default.aspx HTTP/1.0\r\nhost:www.whatever.com\r\n\r\n
usually works well for me.
- Dayne_Miller_19Jun 19, 2014Historic F5 AccountSome HTTP servers (like IIS) default to needing HTTP/1.1 connections, so this won't work for everything. Also the Host header isn't required for HTTP/1.0 connections.
- mimlo_61970Jun 19, 2014Cumulonimbusthough host is not required for http/1.0, it is valid. I agree though, yours is a better string, I am just lazy and don't like to type Connection: Close. I didn't know that about IIS, they must configure all of ours to support 1.0 because I have never run into an issue. Thanks for the tip.
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