Forum Discussion
irule - URI Rewrite - Request AND Response ?
Im reserching a requirement to add context to incomming request that IDs the environment and the URI uniquely. for example
incomming to F5 >> abc.company.com/services output from F5 >> abccompany.com/UAT/test/services >>> to server think that can be done with a HTTP::URI
The tricky part here im having issue is- the user will need to "see" abc.company.com/services on the server response so how to "unwrite" it, if you will, in the response to F5 user
Any tips greatly appreciated!
1 Reply
- PeteWhite
Employee
Use a stream expression to rewrite the links in the content. ie rewrite the URI in the request, use a stream search/replace to rewrite abccompany.com/UAT/test/service back to abc.company.com/service.
Simples.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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