RewriteCond %{REQUEST_FILENAME}  !-f
RewriteRule ^(.+)\.xbm           $1.gif   [L]