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 ?
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!
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,
/signserver/tsa?workerName=TimeStampSigner1101/
is still a URI, where
workerName=TimeStampSigner1101
would be your HTTP QUERY,
workerName
will be your QUERY PARAMETER and
TimeStampSigner1101
will be its VALUE.
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.
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
Great news Ahmed! Cheers!