Forum Discussion
adrian_1812
Nimbostratus
Apr 30, 2007Fetching content from external source
Howdy All
Is there anyway to fetch content from an external source, to determine what to do with it?
ie go get http://182.168.0.1/page.aspx?ip=1.1.1.1
and then act on the...
JRahm
Admin
Apr 30, 2007Yes. In fact, if you sent the initial request to server X, you could have it check the country and forward it back in the response, then you could resend the request to the appropriate pool.
Framework:
when client is accepted, set a variable to 1 to establish as new connection
when first http_request event triggers, forward to server X to process country of origin
when first http_response event triggers, pull out country information from response and set the variable to 0.
when subsequent http_request events trigger, match country to appropriate pool
Write back if you get stuck with the context, or if my assumption that your server X will process the country is way off base.
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