Forum Discussion
fillstrsoh_2962
Oct 26, 2011Nimbostratus
SharePoint 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
Oct 30, 2011Cirrus
in 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
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