Forum Discussion

roger10dc_46053's avatar
roger10dc_46053
Icon for Nimbostratus rankNimbostratus
Apr 03, 2008

OWA HTTP RESPONSE

Hello - newbie to iRule so hope my request is possible.

 

 

I have several OWA 2007 CAS behind BigIP running 9.4.4. I have a pair for external access, and another pair for internal OWA access.

 

 

When OWA 2007 launches, there is a link to a Mimosa Mail Archive server on the tool bar. The problem is the link points to an internal link and I need to translate to external before it reaches the users.

 

 

 

For example, if the link is https://archive.mydomain.corp I need to user to receive https://archive.mydomain.com.

 

 

Is this possible? I did try the following without success...

 

 

 

when HTTP_RESPONSE_DATA {

 

if { [regsub -all "https://archive.mydomain.corp/NearPoint/Client/DefaultFrame.aspx" [HTTP::payload] "https://archive.mydomain.com/NearPoint/Client/DefaultFrame.aspx" newdata] } {

 

HTTP::payload replace 0 [HTTP::payload length] $newdata

 

}

 

}

 

 

 

 

Many thanks,

 

 

 

Jonathan
  • You can probably do this with the stream profile. Simply do a search on the devcentral for "stream profile" and look for the first article you see or Click here for a short cut.
  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    It is definitely possible via an iRule, but as has already been mentioned, a stream profile is the preferred way of making this type of global replacement. Not only is it simpler, but it's built into the profiles system, so it's faster, as well.

     

     

    Colin