I have a need to:
- Parse the
User-Agentto extract the browser name & browser version.
- Compare that version to a list contained in a JSON file (the list is essentially browser name & major version).
- Then if the version is greater than the JSON file version I want to route my static file requests to root A, if not then I want to route the file requests to root B. (essentially, I think I want to do a
rewriteof the url if the version is great than those in my JSON file.)
I have been searching this community and reading through the modules and the documentation and I am thinking I may need to develop my own module (e.g.
http.matchers.browser_version). Before I do that I wanted to check with the collective intelligence here to make sure there is not a solution that is eluding me?
- Is there a set of features that could be cobbled together to solve my problem?
- Any help appreciated!!