Forum Discussion
Richard_Schmit_
Jul 28, 2011Nimbostratus
Modify 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???
- Ryan_Paras_7933Nimbostratuswhen 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_BhattmanNimbostratusHI Richard,
- Richard_Schmit_NimbostratusRyan,
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