If you want to replace strings within the HTTP content of the server response, you can use a stream profile. It should be simpler to configure than a rule.
You can configure a stream profile in the GUI under Profiles >> Other >> Stream. The simplest form is a single Source and Target. When added to the VIP, the stream profile dictates that all instances of the source string are replaced with the target.
This is what it looks like in the bigip.conf file:
profile stream test_stream {
defaults from stream
source "original.example.com"
target "replaced.example.com"
}
This post describes some advanced options for configuring a stream profile with a rule: (
Click here)
Aaron