Forum Discussion
Apache to F5 LTM transfer of configurations
So, writing a simplified version wouldn't be too hard, but I know that the rule listed above handles quite a few edge cases. Using that proxypass iRule on a Virtual Server named 'my-vs', you would create a data group called 'ProxyPassmy-vs', of type 'string'. There would be an entry for each rule that you want. The 'String' value would be the URI path you are looking for on the outside, and the 'Value' would be the string on the inside (to rewrite) and the pool name to select.
For example: String '/Portal', and Value '/dcaportal dca_pool' would take any request with a URI starting with '/Portal' and rewrite it to '/dcaportal', and route the traffic to the dca_pool.
The Virtual server would see a request for 'http://phost/Portal/dashboard.htm', and the selected server in the dca_pool would see 'http://phost/dcaportal/dashboard.htm'
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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