Great, I see drupal has implemented http://site/search/node/foo

I had made a mod_rewrite like this:

RewriteRule ^search/(.*)$ search?keys=$1

But now that Drupal has implemented this feature it doesnt work because one can search either node or user. (http://site/search/node/foo or http://site/search/user/foo) I have tons of http://site/search/foo embedded throughout my site which now won't work .

I'm having difficulties aliasing http://site/search/foo to http://site/search/node/foo and would appriciate advice on how to fix this.