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, 2012Great help!
I added as you mention and I'm getting logs - -
I also added a pool that has one member that uses the service port 7012 that I need and attached the pool to the virtual server.
Now i get the initial screen of the app but appears that I may need to add some additional re-writes or programmaticly re-write all headers.
Oct 2 20:06:56 local/tmm info tmm[5299]: Rule portral-dev : 172.24.xx.xx:57203: GET to abc-news.east.foo.com/
Oct 2 20:06:56 local/tmm info tmm[5299]: Rule portral-dev : 172.24.xx.xx:57203: Rewriting / to /Portal/index.html
Oct 2 20:06:56 local/tmm info tmm[5299]: Rule portral-dev : 172.24.xx.xx:57203: Updated host/uri: server.nbc-news.west.foo.com:7012/caelaPortal/CAELA/index.html
Oct 2 20:06:56 local/tmm info tmm[5299]: Rule portral-dev : 172.24.xx.xx:57203: 304 response from p_caela_portal_7012 10.xxx.xx.xx 7012. Redirect location:
Oct 2 20:06:56 local/tmm info tmm[5299]: Rule portral-dev : 172.24.xx.xx:57203: GET to abc-news.east.foo.com/js/jquery.tools.min.js
Oct 2 20:06:56 local/tmm info tmm[5299]: Rule portral-dev : 172.24.xx.xx:57203: Updated host/uri: server.nbc-news.west.foo.com:7012/js/jquery.tools.min.js
Oct 2 20:06:56 local/tmm info tmm[5299]: Rule portral-dev : 172.24.xx.xx:57203: 404 response from p_caela_portal_7012 10.xxx.xx.xx 7012. Redirect location:
Oct 2 20:06:56 local/tmm2 info tmm2[5302]: Rule portral-dev : 172.24.xx.xx:57205: GET to abc-news.east.foo.com/images/nav_images.png
Oct 2 20:06:56 local/tmm2 info tmm2[5302]: Rule portral-dev : 172.24.xx.xx:57205: Updated host/uri: server.nbc-news.west.foo.com:7012/images/nav_images.png
Oct 2 20:06:56 local/tmm3 info tmm3[5303]: Rule portral-dev : 172.24.xx.xx:57204: GET to abc-news.east.foo.com/images/logo_large.png
Oct 2 20:06:56 local/tmm3 info tmm3[5303]: Rule portral-dev : 172.24.xx.xx:57204: Updated host/uri: server.nbc-news.west.foo.com:7012/images/logo_large.png
Oct 2 20:06:56 local/tmm2 info tmm2[5302]: Rule portral-dev : 172.24.xx.xx:57205: 404 response from p_caela_portal_7012 10.253.90.66 7012. Redirect location:
Oct 2 20:06:56 local/tmm3 info tmm3[5303]: Rule portral-dev : 172.24.xx.xx:57204: 404 response from p_caela_portal_7012 10.253.90.66 7012. Redirect location:
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
