CartMetrix - Do you know yours?

« Using Subselect Queries in MySQL | Home | Nagios and thttpd »

10/10/2005

Stop Bandwidth Theives - Lighttpd Style

Previous hotlinking post provided a solution for Apache servers only. Here is one for Lighttpd.

# deny access for all image stealers
$HTTP["referer"] !~ "^($|http://.*\.(domain1\.com|domain2\.com)" {
     url.access-deny = ( ".jpg", ".jpeg", ".png", ".wmv", ".avi", ".mpeg", ".mpg", ".gif" )
}

Replace domain1.com and domain2.com with domains to be allowed as referrers. Modify the list of extension to deny access to.

Popularity: 17%

Trackback:

Related Posts

5 Responses to “Stop Bandwidth Theives - Lighttpd Style”

  1. Raman said:

    i get this warning:
    WARNING: unknown config-key: url.access-deny (ignored)

    what could be the reason?

  2. Valium 5mg how long in system. said:

    Zithromax with valium interaction.

    Valium side effects. Online valium. Valium toxicity canine. Valium.

  3. Valium metabolism. said:

    Valium.

    Buy valium c.o.d.. Vikodine and valium. Valium patient advice including side effects. Canada valium. Valium.

  4. Valium no prescription. said:

    Valium.

    Buy valium c.o.d.. Roche valium for sale.

  5. Cialis best price buy online. said:

    Cialis.

    Dangers cialis and cocaine. Cialis 20mg. Cialis with viagra. Cialis lawyers. Cialis and drug craving. Cialis.

Post your opinion

Verification Image

Please type the letters you see in the picture.

Subscribe without commenting


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2008 damonparker.org. all rights reserved.

Close
E-mail It