Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

how i win this fight

Discussion in 'General Discussion' started by lucascaleto, Feb 13, 2008.

  1. lucascaleto

    lucascaleto Member

    Joined:
    Dec 16, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Hi guys,
    i have one client with videos flash encoding.
    so the extesion is FLV.
    the new Real player can download this videos (great).
    But my client need to protect this...

    i look apache and they say Real Player is :
    "RMA/1.0 (compatible; RealMedia)"

    so i make one rule on client .htaccess account, to redirect to any site and dont make the download

    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} ^.*RMA.*$
    RewriteRule (.*) http://www.attiveweb.com.br/ [R=301,L]

    When i test , real player still download de FLV video from my server.

    when i change the rule, to try download in another browser Like Ie
    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} ^.*IE.*$
    RewriteRule (.*) http://www.attiveweb.com.br/ [R=301,L]

    the Rule Work...
    where is my error ?
    some can help me...
    sorry my english

    thanks

    Lucas
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice