subdomains - masking redirection url's

Dec 24, 2008 at 5:04 PM
I am trying to redirect xyz.mydomain.com to www.mydomain.com/srchDetails.asp?clientid=xyz

RewriteCond %{HTTP_HOST} ^(?!www)([^.]+)\.mydomain\.com
RedirectRule ^/(.*)$ http://www.mydomain.com/srchDetails.asp?clientid=%1 [R=301]

This works perfect for me, but I would like to mask the redirection url.
How to do?

Thanks
Arijit