android phone access problem for .htaccess

Discussion in 'Apache' started by Tuhin1234, Sep 11, 2016.

  1. #1
    here is my .htaccess file

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain\.in [NC]
    RewriteRule \.(flv|FLV|MP4|txt)$ /messageforcurious [L]
    Code (ApacheConf):
    its fully protect my all file . But when a user try to play video by mx or vlc mobile player it not played . If i remove .htaccess then working fine. Now how can i protect my file only from hotlinkng (any other domain) but working from any mobile apps like mx or vlc player .
     
    Last edited: Sep 11, 2016
    Tuhin1234, Sep 11, 2016 IP