we like to create a Virtual server listening on HTTPS and once client connect to the website, we can append /website to the request and it get redirected to the pool of web server listening on different ports. If some one can please help.
Are 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.
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.
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.
Are the pool members at port 8888 expecting encrypted or unencrypted traffic?
encrypted
You need both client-ssl and server-ssl profiles on the virtual server then.
If 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.
…in the Rewrite profile rule.
Was this issue resolved?