Forum Discussion
9 Replies
- JRahmAdminAre you trying to add /website to all requests and forward to the webservers? Or are you really wanting to redirect? Please provide some sanitized examples of what you are trying to accomplish.
- crodriguezRet. Employee
You don't need to redirect to get the request to a pool listening on different ports. You can simply use that pool as the load balancing pool for the virtual server. (Pool members can be on different ports than the virtual server.) Depending on where you want to insert "/website" into the request URI, you may be able to use a Rewrite profile with URI translation on the request to do this. An iRule that triggers on the HTTP_REQUEST event is an alternative that will definitely work. There are plenty of iRule HTTP URI rewrite examples on DevCentral to help you with this. You will need to terminate SSL on the BIG-IP system with a client-ssl type profile in order to modify the HTTP URI. If the pool members are expecting encrypted traffic, you can re-encrypt for the server side with a server-ssl type profile. And you'll need an HTTP profile on the virtual server as well for either the Rewrite profile or iRule option.
- umang5_235067Nimbostratus
thanks for the reply, I created the VIP which is listening to HTTPS and pointed to pool where member server is listening on port 8888, looks like the port translation is working but the page is getting time out. because re write profile not working. Can you please point me to one of the working example where I can rewrite the path once user hit the URL.
- crodriguezRet. EmployeeIf you want to add the string "/website/" immediately after the URL, then you should be able to specify "/" as the client URI and "/website/" as the server URI.
- crodriguezRet. Employee...in the Rewrite profile rule.
- crodriguezRet. Employee
Are the pool members at port 8888 expecting encrypted or unencrypted traffic?
- umang5_235067Nimbostratus
encrypted
- crodriguezRet. EmployeeYou need both client-ssl and server-ssl profiles on the virtual server then.
- Steve_LyonsRet. EmployeeWas this issue resolved?