# Flash and htaccess

**URL:** <https://forum.kirupa.com/t/flash-and-htaccess/320982>\
**Category:** Uncategorized\
**Created:** [April 7, 2011, 10:06am UTC](https://forum.kirupa.com/t/flash-and-htaccess/320982 "2011-04-07T10:06:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unkemptrich](https://avatars.discourse-cdn.com/v4/letter/u/a587f6/32.png) [@unkemptrich](https://forum.kirupa.com/u/unkemptrich)\
**Post date:** [April 7, 2011, 10:06am UTC](https://forum.kirupa.com/t/flash-and-htaccess/320982/1 "2011-04-07T10:06:32Z")

</div>

Hi all

Apologies if this is not in the correct forum…

I am trying to stop access to the jpgs on my site using the following htaccess

RewriteEngine on  
RewriteCond %{HTTP\_REFERER} !^http(s)?://(www.)?[mysite.com](http://mysite.com)\index.html [NC]  
RewriteRule .(jpg|jpeg|png|gif)$ - [NC,F,L]

However, this is stopping the images being loaded into my flash site.  
This is only happening for some users, not all.

Any ideas would be appreciated

Cheers
