Forum Discussion

mike_schweinber's avatar
mike_schweinber
Icon for Nimbostratus rankNimbostratus
Oct 18, 2006

Base 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

  • 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
  • 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