Forum Discussion
Chandu_14820
Nimbostratus
May 27, 2010Retrive Virtual server name by passing Virtual address string
Hi Everyone,
I am trying retrieve Virtual server name by passing virtual address as argument. Vis Versa is possible by fucntion.
my_icontrol_interface.LocalLBVirtualServer.get_destination("vs_test")...
Thanks again for posting your test. I calculate the length of your headers to be 290 bytes. So even when I add in the 1418 bytes of content, the total length is 1708 bytes. I would be curious to see the behavior if you removed 100 or so bytes from the content, just to be sure you are well under my theoretical threshold. But I understand if you don't want to do any more - thanks for responses. You were able to help me isolate this further than I would have alone.
I'm not quite sure what your question is - are you asking for help understanding what your current RewriteRule does (it seems to rewrite "/" to "/ptg/rm"), or are you asking how to implement the same rule in an iRule (or ltm policy), or is the question something else ?
If you were to use a policy, it would be something like this:
ltm policy rewriteurls { requires { http } rules { rewrite_root { actions { 0 { http-uri replace path /ptg/rm } } conditions { 0 { http-uri path values { / } } } ordinal 1 } } strategy first-match }
Does that help ?
- BKA_201457Feb 10, 2016
Nimbostratus
I know how to rewrite "/" to "/ptg/rm". I think I am over-thinking it. Thanks for the response. Made me realize that I was looking at it wrong. It just isnt working. Its working through the current reverse proxy configuration, but I cannot get it to work through the F5. I have plenty of others working through the F5, but this one seems different. I'll figure it out. Thanks again.