Forum Discussion
Retrive Virtual server name by passing Virtual address string
Preserve:
Specifies that the system preserves the value configured for the source port, unless the source port from a particular SNAT is already in use, in which case the system uses a different port.
Preserve Strict:
Specifies that the system preserves the value configured for the source port. If the port is in use, the system does not process the connection. If the port is in use by another connection, the system uses that source port anyway, and the destination server cannot distinguish the traffic of the connections sharing that source port. F5 Networks recommends that you restrict use of this setting to cases that meet at least one of the following conditions:
- The port is configured for UDP traffic.
- The system is configured for nPath routing or is running in transparent mode (that is, there is no translation of any other Layer 3 or Layer 4 field).
- There is a one-to-one relationship between virtual IP addresses and node addresses, or clustered multi-processing (CMP) is disabled.
Change:
Specifies that the system changes the source port. This setting is useful for obfuscating internal network addresses.
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.
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