Link to home
Start Free TrialLog in
Avatar of azlumiere
azlumiereFlag for United States of America

asked on

Block Real Player with Apache

Hi Experts,

I was hoping to block Real Player on a website with video (or at least protect a directory holding the video files). I found an article here: http://www.longtailvideo.com/support/blog/13088/securing-your-content

Someone put in a comment that you can block Real Player with Apache. They provided this code:

SetEnvIfNoCase User-Agent "^RealPlayer" bad_client

<Directory "/your/streaming/files/*">
Order allow,deny
Allow from All
Deny from env=bad_client
</Directory>

I have, what is probably, a silly question. Where would I put this script? I thought it would be in my .htaccess file, but that produced a 500 error. Am I missing something really stupid here?

I'd appreciate your thoughts!
ASKER CERTIFIED SOLUTION
Avatar of arober11
arober11
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of azlumiere

ASKER

arober11,

Thank you so much for the information! I'll see what I can do.

I appreciate your help.