two different ip virtual ip redirects to same ip for https

I need one help here. I have two http virtual servers needs to be created and both of them should be redirected to a singe https server..Can somebody help me with the irule please.

Also will it be possible to use a single virtual server for two different ip addresses. how?..If that is possible then we want to build a single http virtual server for 2 different ip addreses and redirects both of them to a single https virtual server..Please help..

I have two http virtual servers needs to be created and both of them should be redirected to a singe https server.

you can just use HTTP::redirect command with fqdn of the https virtual server. apply the irule to both of the http virtual servers.

HTTP::redirect

Also will it be possible to use a single virtual server for two different ip addresses.

i do not think so.