Forum Discussion
Willy_82807
Nimbostratus
Oct 05, 2010Fileupload problem
I am new to BigIP. I am load balancing two servers both running java servlet / jsp applications. Some of the 3rd party modules are hosted in iframes and to get the content it uses a non relative url. ...
Ben_95489
Nimbostratus
Oct 12, 2010Hey Willy,
I believe this will do exactly that. You might want to consider, however, using a data group and matchclass for this, though. This will make it a lot easier to change the list of content-types in the future without actually changing anything in the rule.
It would probably look something like this:
when HTTP_REQUEST {
if { [matchclass $::content-type contains [HTTP::header "Content-Type"]] } {
STREAM::expression {"@http://learning.usuhs.mil@https://learning.usuhs.mil@"}
}
}Be sure to read the notes about using the partial match operators here, though: http://devcentral.f5.com/wiki/default.aspx/iRules/matchclass.html
\\ Ben
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
