.htaccess mod not allowing any pictures to load

cfryback

Joined: 2005-03-25
Posts: 18
Posted: Mon, 2005-08-29 13:23

:-? Little confused here...

I have entered in the following code into my gallery's .htaccess file

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://mysite/gallery/albums [NC]
RewriteCond %{HTTP_REFERER} !^http://mysitegallery/albums [NC]
RewriteRule .*\.(jpg|gif|avi|png)$ - [F,NC]

So after I save the file (W2K3 server running WAMP {Apache 2.0.54 and PHP 5.0.4}) and restart the service, I can't see the background images, let alone any of the pictures!
I have three .htaccess files showing, all in different locataions!
Have I done something wrong?

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Mon, 2005-08-29 13:28

If you take that out, it works fine?

 
cfryback

Joined: 2005-03-25
Posts: 18
Posted: Tue, 2005-08-30 02:32

Yes. For the time I have commented out the commands with "#"

 
cfryback

Joined: 2005-03-25
Posts: 18
Posted: Wed, 2005-08-31 12:19

Anyone? *bump*