Hi I have a big problem with one of my servers and a great amount of bandwidth wasted by the hotlinking. This server is running Apache 2.0 for bring MP3 files, this MP3 files are played by a SWF player. Well, in this point everything is OK... I though in stop hotlinking with the typical Mod_Rewrite module and his rules, but in this case, unfortunately, it doesnt work because of HTTP REFERERS. I tried block every petition without HTTP REFERER, but it affect some browsers... Someone know a module, server or way of fix it? If it cannot be fixed with the traditionals methods, perhaps could be possible fix it using PHP code. I have another problem; This server cannot use authentication or login for play MP3 Any suggestion is appreciate! Thanks in advance
I'd place the files outside the document root and then use a PHP script to stream them to the Flash player. There's a tutorial that's very similar to what you do, but it's for lighttpd and flv files: http://www.howtoforge.com/video_streaming_lighttpd_flowplayer