RewriteEngine on
RewriteCond %{HTTP_REFERER} !$
RewriteCond %{HTTP_REFERER} !http(s)?://(www.)?nitrografixx.com [NC]
RewriteCond %{HTTP_REFERER} !http(s)?://(www.)?www30.myfantasyleague.com/2012/home/63454 [NC]
RewriteCond %{HTTP_REFERER} !http(s)?://(www.)?football30.myfantasyleague.com/2012/options?L=63454&O=07 [NC]
RewriteRule .(jpg|jpeg|png|gif|css|js)$ - [NC,F,L]
This is what i have tried , it works for the homepage of the site , but since all the pages within the site have the unique LeagueID at the end of the URl i have to allow/deny them all , so when i add a full URL for example as above the "options?L=63454&O=07" page , it doesn't work on that page , i assume because of the charactors in the URL