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...
fillstrsoh_2962
Oct 31, 2011Nimbostratus
Kurt,
Sorry about that. The missing pool commands was just a typo. Here is the actual irule.
when HTTP_REQUEST {
if { [HTTP::host] contains "dv-strsohioportal" } {
log local0. "URI - [HTTP::uri]"
switch -regexp [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 }
}
HTTP::uri "http://paris-test[HTTP::uri]/default.aspx"
log local0. "URL - [HTTP::method] [HTTP::host][HTTP::uri]"
log local0. "Host: [HTTP::header Host]"
log local0. "Request: [HTTP::request]"
}
}
HTTP::uri http://paris-test[HTTP::uri]/ is needed because SharePoint does not answer correctly unless it sees the AAM defined site in the URL. I tried to rewrite the host header to pass the domain to SharePoint but it did not function consistently. I guess the if statement is not needed because the virtual server will only be answering for dv-strsohioportal. I have logs but had trouble attaching them to the post.
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