Forum Discussion
Ricardo_77091
Nimbostratus
Mar 26, 2009HTTP Monitor that follows redirects
We are trying to configure an HTTP monitor to monitor a .NET application and mark the member as down if it does not receive the response it expects. The problem is that the first response is a 401 Una...
hoolio
Cirrostratus
Mar 26, 2009Will the application accept basic authentication? Or does it only use NLTM? If the former, you could include an auth header in the monitor send string. The header name is Authorization and the value should be a base64 encoded user:pass. The send string would be something like:
GET /monitor_page.asp\r\nAuthorization: Basic dXNlcjpwYXNz\r\nHost: \r\nConnection: close\r\n
If it's NTLM you couldn't use a standard HTTP monitor to authenticate against the application as it requires multiple dynamic HTTP requests to perform the authentication. I think curl supports NTLM auth though, so you could potentially write an external monitor which references curl to do this.
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