EricNielsen
06-29-2011, 04:57 PM
We want to use the URL switch to route incoming requrests.
Initially we thought that matching on "/element#/" in URLs like
//host/element1
//host/element2
//host/element3
would work. The URL switch does this no problems.
However, adding the "element#/" in the URI causes the java app server to mis-route the request once it gets to the right machine.
We tried matching on parameter values, e.g.:
matching on "elementId=element#" in the parameter list, and allowing all the URLs like
//host/<other-stuff>?elementId=element1
//host/<other-stuff>?elementId=element2
etc.
However, the URL Switch will not match on that part of the string.
Solutions?
Modify URLSW?
Use URL rewrite rules (ick)
other?
Initially we thought that matching on "/element#/" in URLs like
//host/element1
//host/element2
//host/element3
would work. The URL switch does this no problems.
However, adding the "element#/" in the URI causes the java app server to mis-route the request once it gets to the right machine.
We tried matching on parameter values, e.g.:
matching on "elementId=element#" in the parameter list, and allowing all the URLs like
//host/<other-stuff>?elementId=element1
//host/<other-stuff>?elementId=element2
etc.
However, the URL Switch will not match on that part of the string.
Solutions?
Modify URLSW?
Use URL rewrite rules (ick)
other?