Forum Discussion

Shayne_Rinne_84's avatar
Shayne_Rinne_84
Icon for Nimbostratus rankNimbostratus
Jun 21, 2005

http:uri content formating issue

Hello,

 

 

We have the following irule setup

 

 

when HTTP_REQUEST {

 

if { [HTTP::uri] contains "content/" or \

 

[HTTP::uri] contains "canada/" or \

 

[HTTP::uri] contains "images" } {

 

pool pool1

 

} else {

 

pool pool2

 

}

 

}

 

 

The uri switching works fine but, the content display does not look correct i.e. colours and fonts are not displaying as expected. If I go directly at the server instead of using the F5 setup all content displays correctly.

 

  • unRuleY_95363's avatar
    unRuleY_95363
    Historic F5 Account
    This is likely not a problem with your rule, as it looks just fine. It is more likely that the HTML content your server is returning has absolute references that resolve to a different IP than your BigIP is configured for. You should be able to easily check the href's in the document and see if they are relative or absolute. If they are absolute, then do they resolve to the IP address for the virtual on the BigIP?