Forum Discussion
mike_schweinber
Nimbostratus
Oct 18, 2006Base URL
An application we are going to load balance is using base url. Because of this, the BIGIP will not allow the application to function properly. When the WebServer is accessed through the VIP, the base url attaches the DNS name of the server that it is hitting. The BIGIP blocks this.
Would it be recommended to use a IRULE to do a URL rewrite?
Thanks!
2 Replies
- mike_schweinber
Nimbostratus
Hi,
We need to manipulate a tag in the HTML. Here is a link as a reference of what we would need to manipulate. Thanks!
http://www.wdvl.com/Authoring/HTML/Head/base.html - hoolio
Cirrostratus
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
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