Forum Discussion
Rewrite profile Issue
I have an issue with the URI rewrite profile. I believe it should be able to do what I need it to do, but can't get it working :(
I have a Virtual Server configured, lets call that DomainA, all our Virtual Servers have a client SSL profile.
I've created a URL rewrite profile as per the below;
- URI Translation
- Request Settings: Rewrite Headers, Insert X-Forwarded-For Header
- Response Settings: Rewrite Headers, Rewrite Content
- Rule Type = Both
- Client URI:
- Server URI:
That all works fine, I make a request and see the content that is in FolderB.
What I want to do is;
- URI Translation
- Request Settings: Rewrite Headers, Insert X-Forwarded-For Header
- Response Settings: Rewrite Headers, Rewrite Content
- Rule Type = Both
- Client URI:
- Server URI:
DomainB traffic goes to another Virtual Server on the same F5. When I test the above I get a response from a DomainA node saying FolderC does not exist.
I can successfully connect to directly, just not when using the rewrite profile.
We are running LTM 12.1.1. The reason for the rewrite profile is that we have an issue with a couple of web services were the sender can't handle a 301 or 302 redirect code - so we can't use redirects as part of the solution.
Any ideas?
- rob_carr
Cirrocumulus
The rewrite profile isn't changing where the traffic is being sent to, it's responsible for rewriting L7 content, so you need to do a bit more with your configuration. Take a look at the virtual command, which allows you to target the traffic of one virtual server to another virtual server.
You might also want to take a look at the Lightboard Lessons: Vip Targeting Vip video for a more in-depth discussion of vip-targeting-vip architecture.
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