Forum Discussion
Richard_Schmit_
Nimbostratus
Jul 28, 2011Modify url found in e-mail
Will this work and is this the best way?
Looking to rewrite any url that is stamped in an e-mail that has the internal server name. Need to change the internal server name to the externally published name
when HTTP_RESPONSE {
if {[string tolower [HTTP::header "Location"]] starts_with http://internal.ABC.test.com}
{ HTTP::redirect "https://external.ABC.com[HTTP::uri]"
Or could/should this be done with a streaming profile somehow???
3 Replies
- Ryan_Paras_7933
Nimbostratus
when you say you are trying to rewrite urls in an email, are you talking about this rule sitting on an smtp VIP or maybe a webmail VIP? or are you talking about just redirecting any HTTP/https call against an internal URI of a VIP to a differently specified external URI for the VIP? - The_Bhattman
Nimbostratus
HI Richard,
If you are doing this under OWA or some web mail, then you can use the stream profile, provided that there is no encryption OR SSL is terminated on the F5 that this rule is going to process on.
Thanks,
Bhattman - Richard_Schmit_
Nimbostratus
Ryan,
I'm working on this for someone else, but my understanding is this is for an I-Rule sitting on a VIP that is for OWA.
Thanks guys for the responses. The SSL is terminated on the F5, so I will give the stream profile a shot.
Rich
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
