|
| Hi everybody
Sorry to bother you, but it has come to my attention something very
particular under one of my subdomains i have a .htaccess file that
blocks download enhancers by using the HTTP_USER_AGENT order, so far it
was working but now is not anymore.
I have not made any change to my httpd file and the .httaccess file
looks like:
#Options +FollowSymLinks
#RewriteEngine On
#RewriteBase /
#
#RewriteCond %{HTTP_USER_AGENT} ^Aculinx [NC,OR]
#RewriteCond %{HTTP_USER_AGENT} ^Ants [NC,OR]
#RewriteCond %{HTTP_USER_AGENT} ^Anarchie [NC,OR]
# ... and so some other 170
#RewriteRule .\.([mM][pP][3])$ - [F]
As i understand this will not let any of those agents to download mp3
extensions, is that right?
So far my site offers downloads using a php script and the URL looks
like:
#http://sub.mydomain.com/subdir/index.php?dir=directory/ (for showing
directories)
#http://sub.mydomain.com/subdir/inde.../&file=file.mp3
If i change the RewriteRule to RewriteRule .\.([pP][hH][pP])$ - [F] i
get a Forbidden message (obviously since the rule establishes so) even
if i use firefox or internet explorer and not any of the
..htaccess-blocked agents.
Any recommendations?
Regards,
EOZyo
|
|