Selective Proxying ala ProxyPass
We're currently evaluating migrating from our existing Apache web-farm to a F5 device, and our initial tinkering is throwing up some questions that I'd like to get some input on...
Initially, the question is around how we control which URI's can be hit...
Currently, Apache's ProxyPass allows us ultimate control around which bits of the application the user can hit.
To give you an example:
User A hits x.y.com.
This then redirects them to x.y.com/ApplicationA/login
As part of this application, they also require a set of image resources, which are hosted on x.y.com/ApplicationAResources
User B hits z.y.com
This currently redirects them to z.y.com/ApplicationB
This request doesn't need anything else, other than the above end-point.
Using ProxyPass rules, we can easily define the above... How would we achieve the same using iRules? Or is there a better way other than iRules?