Forum Discussion
Domel_163525
Nimbostratus
Sep 04, 2015Rewrite URL
Hello guys,
We have a very basic VS configured on our BIGIP which recognize a URL the HTTP request comes from and redirects the requests to the appropriate Pool members. The VS also does the SSL...
Domel_163525
Nimbostratus
Sep 04, 2015Thanks Guys!!!
So what is the answer will it work at all with re-write using the Policy or custom iRule has to be configured?
- Domel_163525Sep 04, 2015
Nimbostratus
So Brad I have tried your method unfortunately that didn't work... Do I need to add another action to the same rule to send request to a specified pool? - Brad_ParkerSep 04, 2015
Cirrus
Does the site live on a different pool of servers than what is default to the virtual server? - Brad_ParkerSep 04, 2015
Cirrus
Also, what kind of web service are you using, does it use query parameters? - Domel_163525Sep 04, 2015
Nimbostratus
Hi Brad, The VS doesn't have default pool configured at all so I presume I need to configure another action to send my request to appropriate pool/node. - Domel_163525Sep 04, 2015
Nimbostratus
I have added those 2x actions to the rule and seems to be working but the page looks little bit different from the page being accessed directly on the server. Would it be possible the images are loaded from somewhere else...? - Domel_163525Sep 04, 2015
Nimbostratus
So this is what I have configured: Condition: http-host host equals a.domainname.com Action: http-uri request replace value: https://newwebservice/Custom/Uri forward request select pool/Common/a-domain-pool - Brad_ParkerSep 04, 2015
Cirrus
updated above. How does it look different exactly? You have images on a web service page? Are you trying to display resources from newwebservice but still have the browser think its a resource on a.domainname.com? - Domel_163525Sep 04, 2015
Nimbostratus
This is actually a web site and there is some images o n log on page. It looks like all the images are missing and the text is formatted differently. Not too sure how is this being configured on the back end Web server as it's been done by the server team. Will have to talk to them on Monday. I could make a screenshot and upload it here if that helps at all. - Domel_163525Sep 05, 2015
Nimbostratus
I have tried another website with customized URI ("/Custom/Uri" rather than just "/") and it does exactly the same...Any ideas what I may be missing here? - Stanislas_Piro2Sep 07, 2015
Cumulonimbus
is the new service a "Web service" like REST or SOAP service or a web site? the solution provided by Brad and I was to replace all URLs by /custom/URI... Can you explain your need with examples? Is your web site in /Custom/URI/ folder and you wand to hide this URI?
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