Forum Discussion
tvotta_94824
Nimbostratus
Oct 01, 2012Rewrite rule forward to specific domain and port
Hello Guys/Gals -- I'm new to irules and am trying to figure out a re-write scenario, I'm trying to change a current rule that does a redirect, and change it to rewrite. The current rule is lik...
tvotta_94824
Nimbostratus
Oct 02, 2012Thanks !
I added a statement
log local0. "host header after header replace = [HTTP::header Host]" after the HTTP:: header replace, but unfortunately still the header is not getting rewritten.
Oct 2 17:20:48 local/tmm3 info tmm3[5303]: Rule portral-dev : changing uri to /Portal/index.html
Oct 2 17:20:48 local/tmm3 info tmm3[5303]: Rule portral-dev : incoming host header = abc-news.east.foo.com
Oct 2 17:20:48 local/tmm3 info tmm3[5303]: Rule portral-dev : host header after header replace = abc-news.east.foo.com
Oct 2 17:20:49 local/tmm info tmm[5299]: Rule portral-dev : incoming host header = abc-news.east.foo.com
Oct 2 17:20:49 local/tmm info tmm[5299]: Rule portral-dev : host header after header replace = abc-news.east.foo.com
Oct 2 17:20:49 local/tmm3 info tmm3[5303]: Rule portral-dev : incoming host header = abc-news.east.foo.com
Oct 2 17:20:49 local/tmm3 info tmm3[5303]: Rule portral-dev : host header after header replace = abc-news.east.foo.com
Oct 2 17:20:49 local/tmm2 info tmm2[5302]: Rule portral-dev : incoming host header = abc-news.east.foo.com
Oct 2 17:20:49 local/tmm2 info tmm2[5302]: Rule portral-dev : host header after header replace = abc-news.east.foo.com
Must be another method to get this header to re-write.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
