Allows you to search a variety of questions and answers
This was done for one of our customers who used lighttpd to stream their videos. The problem was other users were directly downloading the content from the website, which is essentially considered leeching/hotlinking and in turn using up our client's bandwidth. To prevent this, we followed these steps:
1. Find the access IP that shows up in your lighttpd access_log (typically in /var/log/lighttpd). The IP will most likely be the main IP of your server/VPS.
2. With that IP, add the following code to your lighttpd.conf file:
Code:
$HTTP["remoteip"] == "1.1.1.1" { $HTTP["url"] =~ "^/videoimagefolder/" { url.access-deny = ( ".flv, .jpg, .gif" ) } }
Replace the IP with the IP you find your logs, the folder with the folder where your videos, images or whatever the content may be are located. Lastly, put in the extension of the files you'd like to prevent access to. So, if you only have flv files, just put ".flv" in there.
That should do it!
I've been a client of AYK Solutions for about six months now. They have provided the best overall experience I have had in over 10 years. I've tried iWeb, SingleHop, and a few others supposed to be the so-called best. Specifically, you are dealing with personal, professionals with AYK Solutions, and they are willing to help when all others want to charge you $** for this and $**/hr for that. I'm happy, and have no plans of going anywhere else; ever.
I have never experienced a more professional and personal client-based service such as I am enjoying from AYKSolutions. This is no plotted statement either. I'm not a guru by no means, and they have been unbelievably superb in helping me promptly, professionally, courteously, and completely. Thank you Artyom & team.
Great host, have tried many they're certainly a top choice for me. Premium bandwidth, great prices, 100% stable, and great support.