Forum Discussion
hooleylist
Apr 04, 2008Cirrostratus
Hi,
It would be pretty simple to define a list of object types you want to send requests for to a specific pool. But maybe it would be cleaner to try to change the web server configuration to log only the object types you care about?
If you wanted to use an iRule, you could define a class of string objects like this:
class dynamic_object_types_class {
".asp"
".aspx"
}
The rule could look like this:
when HTTP_REQUEST {
Check if the path (URI minus the query string) ends with a dynamic object type
if {[string tolower [HTTP::path]] ends_with $::dynamic_object_types_class}{
Send request to the dynamic object type pool for logging
pool dynamic_object_types_pool
} else {
Send request to the static object type pool to not log the request
pool static_object_types_pool
}
}
Aaron