HTACESS hot links question

Discussion in 'Apache' started by unlisted80, May 24, 2007.

  1. #1
    what is wrong with my code ?

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://mydomain.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://myotherdomain.com$ [NC]
    RewriteRule .*\.(jpg|jpeg|png|bmp|mp3|wma|wav|swf)$ http://domain.com/logo.gif/ [R,NC]
    PHP:
    okay all the hotlinks protect are work except the mp3
     
    unlisted80, May 24, 2007 IP