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

2 Replies

No RepliesBe the first to reply