<Directory /home/www/icons>
Options Indexes FollowSymLinks
RewriteEngine On
RewriteBase /icons
RewriteRule ^(.+)\.xbm           $1.gif    [L]
</Directory>