Forum Discussion
URI Rewrite profile not use the full path of the url
Hi , I have configure content rewrite profile to make f5 as a reverse proxyso if a client request to http://10.10.10.216/tsp this will be the client side and for the server side i want my F5 to use this link to talk to my server http://10.10.10.216/signserver/tsa?workerName=TimeStampSigner1101/ but unfortunately F5 doesnt take the full URi it just talk to server using that http://10.10.10.216/signserver/ what i should do to make F5 to talk to server on the full url ?
- rafaelbn
Cirrostratus
Hello Ahmed Eldosouki,
I think that content rewrite profiles are meant to rewrite the packet payload, not the URL. I think you could achieve a solution by just doing a redirect? A simple policy that redirects the client to the new/complete URL should do the trick and be easier on BIG-IP's CPU.
Cheers, Rafael!
- jaikumar_f5
Noctilucent
Ahmed,
I haven't completely played around with rewrite profile, so far been using Irules. But your requirement still should be able achievable through rewrite profile. May I know how you had the new custom profile created ?
Because,
is still a URI, where/signserver/tsa?workerName=TimeStampSigner1101/
would be your HTTP QUERY,workerName=TimeStampSigner1101
will be your QUERY PARAMETER andworkerName
will be its VALUE.TimeStampSigner1101
So while creating your rewrite profile, did you follow,
- Parent Profile --> select rewrite.
- Rewrite Mode list --> select URI Translation.
- URI Rules:
- Client URI --> /tsp/
- Server URI --> http://10.10.10.216/signserver/tsa?workerName=TimeStampSigner1101/
Let us know how it goes.
- Ahmed_Eldosouk1
Nimbostratus
hi Rafael, Thank you for your comment, i didnt want the client to be redirected to any thing i just want to use F5 as a revers Proxy, by the way i made it using iRule and content Rewrite profile
- rafaelbn
Cirrostratus
Great news Ahmed! Cheers!
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