PDA

View Full Version : Need .htaccess Help


LazyAK
April 24th, 2007, 07:44 PM
Ok I run an arcade site, and I am trying to block some european site from linking to my swf files and stealing my bandwith.

I put an .htaccess file into the swf folder with this:

<Limit GET HEAD POST>
order allow,deny
deny from http://www.arkadne-igre.si/
allow from all
</LIMIT>

Once I did this it only blocked there site from accessing it, but about 3 hours later it started blocking all users from playing games on my site.

Can anyone tell me what I did wrong?:(

Feel free to look at my site its www.arcadegems.com non of the flash games seem to load except the first one(Death and Diesel)

LazyAK
April 24th, 2007, 07:57 PM
Could a mod move this to the proper area, I posted in the wrong area.

MKInfo
April 25th, 2007, 12:38 AM
Moved.
htaccess is way outta my league I'm afraid.

layla
April 26th, 2007, 12:16 PM
Ack, I've been going through this myself due to trying to keep downloaders and bad bots off my site. I feel your pain. I am sorry I can not help as I haven't quite got it ironed out but there is a lot of info at webmasterworld.com forums on the topic - if you haven't been there already.

minnseoelite
April 26th, 2007, 12:46 PM
i set that up on one of my sites but dont know how to do it off hand.....i did a google search for "block hotlinking in .htaccess" that will give you some sites with walk throughs on how to set it up to block hot linking and even display an alternate picture on the site that is trying to hotlink your files........with mine I have an alternate picture set up with a chick with leeches all over her face and my sites URL so their users know they can go to my site to get the original

marshall_26
May 20th, 2007, 04:33 AM
block by ip address is best, but.... what you did should have no effect on anyone but that site