azlumiere
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!
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you so much for the information! I'll see what I can do.
I appreciate your help.