Forum Discussion
fillstrsoh_2962
Nimbostratus
Oct 26, 2011SharePoint 2010 - virtual with two pools
We are trying to implement SharePoint 2010 using one virtual server with two pools using a pool for each site. dv-strsohioportal is the virtual server which has an irule that sends traffic to a specif...
Kurt_Knochner_5
Cirrus
Oct 30, 2011in your last iRule:
1.) there are no pool commands
2.) what is " HTTP::uri http://paris-test[HTTP::uri]/" supposed to do? Did you just forget the log statement?
Please try this:
when HTTP_REQUEST {
if { [HTTP::host] contains "dv-strsohioportal" } {
switch -glob [string tolower [HTTP::uri]] {
"/sites/its*" {
log local0. "This time pool - ITS"
pool dv-strsohioportal_its_pool
}
"/sites/inv*" {
log local0. "This time pool - INV"
pool dv-strsohioportal_inv_pool
}
}
log local0. "URL - [HTTP::method] [HTTP::host][HTTP::uri]"
log local0. "Host: [HTTP::header Host]"
log local0. "Request: [HTTP::request]"
}
}
BTW: Why do you need the if clause at the beginning? Are there several domains terminating at that VS?
Regards
Kurt Knochner
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