Forum Discussion
sundogbrew
Altocumulus
Mar 26, 2013irule to pick a number out of a URI and make it the port
I have developers who want to tie everything off the same URL and have it go to different ports on the same group of hosts. If you have been following my posts, it is almost the exact opposite probl...
sundogbrew
Altocumulus
Apr 23, 2013OH MAN, we are so close!!!
I was getting /808 so I changed set newport [findstr [HTTP::uri] "/" 0 4] to set newport [findstr [HTTP::uri] "/" 0 5] and am now getting the port but need to lose the /
how would I do that?
Tue Apr 23 15:44:09 EDT 2013 err tmm1 tmm1[8660] 01220001 TCL error: /Common/jose-portredirect-test - no such pool: chuckpool_/8080 (line 11) invoked from within "pool chuckpool_$newport "
Tue Apr 23 15:44:09 EDT 2013 info tmm1 tmm1[8660] Rule /Common/jose-portredirect-test : New Port is: /8080
Tue Apr 23 15:44:09 EDT 2013 info tmm1 tmm1[8660] Rule /Common/jose-portredirect-test : New URI is: /ESB/App1/
Tue Apr 23 15:44:09 EDT 2013 info tmm1 tmm1[8660] Rule /Common/jose-portredirect-test : Original request is: chucktest.test.com/8080/ESB/App1/
Tue Apr 23 15:44:09 EDT 2013 err tmm1 tmm1[8660] 01220001 TCL error: /Common/jose-portredirect-test - no such pool: chuckpool_/8080 (line 11) invoked from within "pool chuckpool_$newport "
Tue Apr 23 15:44:09 EDT 2013 info tmm1 tmm1[8660] Rule /Common/jose-portredirect-test : New Port is: /8080
Tue Apr 23 15:44:09 EDT 2013 info tmm1 tmm1[8660] Rule /Common/jose-portredirect-test : New URI is: /ESB/App1/
Tue Apr 23 15:44:09 EDT 2013 info tmm1 tmm1[8660] Rule /Common/jose-portredirect-test : Original request is: chucktest.test.com/8080/ESB/App1/
Tue Apr 23 15:44:09 EDT 2013 err tmm1 tmm1[8660] 01220001 TCL error: /Common/jose-portredirect-test - no such pool: chuckpool_/8080 (line 1) invoked from within "pool chuckpool_$newport "
Tue Apr 23 15:44:09 EDT 2013 info tmm1 tmm1[8660] Rule /Common/jose-portredirect-test : New Port is: /8080
Tue Apr 23 15:44:09 EDT 2013 info tmm1 tmm1[8660] Rule /Common/jose-portredirect-test : New URI is: /ESB/App1/
Tue Apr 23 15:44:09 EDT 2013 info tmm1 tmm1[8660] Rule /Common/jose-portredirect-test : Original request is: chucktest.test.com/8080/ESB/App1/
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects