.htaccess configuration

Guys, i need an htaccess config like this people:

http://kazaa.nm.ru/~usa/exeemlite019.exe

when you click on a *.exe file you are redirected to http://www.anothersite.com/download....eemlite019.exe

then you see a page with some advertising and a link for real download the file .exe because htaccess have settings for the redirection i mentioned and for download files from referer www.anothersite.com/download.php?=*

i dont know how do something like this, anyone can help me please, its very nice system to stop leeching files.

 

 

 

 

Top