http rewrite

Can an iRule make this possible?

redirect to:

http://old-domain.com/a/b

but not change the URL from my.newdomain.com to old-domain.com in the client browser.

Apparently we cannot change the webservers to answer to both domains.

thanks

This is unfortunately not possible. BIG-IP v4.x supports HTTP redirection but does not allow any HTTP request modification (other than header insertion and/or removal). BIG-IP v9.x allows arbitrary modification of HTTP requests and responses (and much more).