This is a discussion on mod_rewrite issue within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi everyone, Perhaps some of you have also noticed that RealPlayer version 11 adds a "Download this video" ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi everyone,
Perhaps some of you have also noticed that RealPlayer version 11 adds a "Download this video" button to allows end users to download any media that is displayed in a given website. Let's skip the discussion of whether or not this was a jerk thing for RealPlayer to do and focus on stopping it :) I have created a .htaccess file in attempts of blocking the RealPlayer from downloading videos/music from my website. The .htaccess file looks like this: RewriteEngine On RewriteCond %{HTTP_USER_AGENT} ^RealDownload [OR] RewriteCond %{HTTP_USER_AGENT} ^RMA RewriteRule ^(.*) - [F,L] Now, when I click on the button, I see the following logged in the access log: 255.255.255.0 - - [13/Apr/2009:18:55:28 -0500] "GET testFile.mp3 HTTP/ 1.1" 403 505 "-" "RMA/1.0 (compatible; RealMedia)" Great! They got a 403! Exactly what I wanted! However, the file is still downloading straight to my computer!? Anybody know how this is possible? I don't see any other hits in the logs requesting this file immediately after the 403. How is the rule being ignored? Thank you in advance for any assistance! -- odmoney |