Hello cmbhatt,
I have tried your suggestion but I doesn´t work. The reason might be that when client web browser executes the irritable java script and it changes host name in the URL sended to the BIGIP, it doesn´t match my virtual server IP address (that includes the specific irule). I tried to set up a wildcard virtual server instead of a host virtual server in order to apply your irule, but the problem is that BigIP is far away from client subnet and there are level 3 switches and firewalls between.
I think that the best choice will be to contact to the java script programmer in order to modify the "hide" redirection.
Thanks a lot in any case
Juanma