Forum Discussion
Heather_Layson_
Nimbostratus
Mar 01, 2019URI masking
Hey Guys,
I am new to all this so bare with me. I have two applications that have web hooks into each other. We had to upgrade one of them and it changed the directory structure which is now bre...
Mar 02, 2019
Hi Heather,
You can try using a rewrite profile for this to change the URI on the back-end without changing the URI in the client's web browser
tmsh create ltm profile rewrite REWRITE rewrite-mode uri-translation uri-rules add { mysite.com { type request client { scheme http host mysite.com path /code/ } server { path /newdir/code/ } } }
tmsh modify ltm virtual profiles add { REWRITE }
Note: You will need to make sure that there is an HTTP profile applied to the virtual server
Let me know if this works for you
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
