Forum Discussion
NorCalAdam_6796
Nimbostratus
May 22, 2014Change part of URI, http port and pool
I am trying to migrate from a version of solr to a multicore version and I need to change the URI and port that comes in. I am wondering how the code below looks: This needs to be changed: http:/...
Kevin_Stewart
Employee
May 22, 2014If the request URI starts with /solr but does not contain /core1, then it will issue an immediate redirect to the new modified URI. This is a 302 response back to the client telling it to go to a new URL. On the subsequent to /solr/core1, and for any request that contains /core1 in the URI, it'll pass over the if and follow the code in the else condition - which is to add the port number to the end of the Host header. Traffic will flow to the port 8080 pool members by virtue of the pool assigned to the VIP itself.
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