Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 22nd July 2008, 11:41
phase phase is offline
Junior Member
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache, SWF, MP3 and hotlinking


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
Reply With Quote
Sponsored Links
Old 23rd July 2008, 19:47
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

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_stre...tpd_flowplayer
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 16:02.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.