Forum Discussion
Deon
Nimbostratus
Jun 16, 2008BigIP as Proxy for Cross-Domain XMLHttpRequest Calls?
Is it possible to write an iRule that will allow me to rewrite only specific requests and send them along to another server to fulfill a request for data? The essence of what I need to do is in this ...
Deon
Nimbostratus
Jun 23, 2008Here is what I have so far. Not much actually. I guess I am not completely sure what all needs to be changed or rewritten to do what I am attempting to do.
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/ImageMetaData/" }{
log local0. "*********** REQUEST ****************"
log local0. "matched string"
log local0. "host= [HTTP::host]"
log local0. "headernames= [HTTP::header names]"
log local0. "uribefore= [HTTP::uri]"
HTTP::uri "substr [HTTP::uri] 14"
log local0. "uriafter= [substr [HTTP::uri] 14]"
HTTP::header replace Host "172.22.92.28:9095"
log local0. "header Host= [HTTP::header Host]"
log local0. "header Cookie= [HTTP::header Cookie]"
pool DEV_Image_Access_Service
node 172.22.92.28 9095
}
}
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