Forum Discussion
Bryce_Halkerst1
Apr 18, 2013Nimbostratus
Ok, so I am planning on doing something like this.
Irule Data Group (should {} contain the value?)
ltm data-group internal /Common/images {
records {
.CSS { } Example .CSS {.CSS}
.FLV { }
.GIF { }
.JPEG { }
.JPG { }
.PDF { }
.PNG { }
.SWF { }
.TXT { }
.bmp { }
.css { }
.flv { }
.gif { }
.ico { }
.jpeg { }
.jpg { }
.js { }
.m4v { }
.mp4 { }
.mpv { }
.ogv { }
.pdf { }
.png { }
.swf { }
.ttf { }
.txt { }
.webm { }
}
type string
}
when HTTP_REQUEST {
if {[class match -value -- [string tolower HTTP::uri] contains images] } {
pool Apache_Pool_80
if { ([HTTP::uri] contains "/*.gif*") || ([HTTP::uri] contains "/qas*") } {
pool Weblogic_Pool
if {[HTTP::uri] contains "/webservices*" } {
pool Weblogic_Services_Pool
if {[HTTP::uri] contains "/atgws" } {
pool buybuybaby.com_services_80
} else {
pool Apache_Pool_80
}
}
}
}
}