HOWTO:Block Hotlinking
From Cementhorizon
Contents |
[edit] Notes
[edit] Allow
images.google.com imgrefurl=http://*.cementhorizon.com *.cementhorizon.com *.search.yahoo.com search.yahoo.com image-search.yahoo.co.jp mail.google.com 127.0.0.1:4664 localhost:4664 *.mail.live.com *.yimg.com www.yelp.com profile.typekey.com
[edit] Block
*.myspace.com profiles.friendster.com profileedit.myspace.com *.livejournal.com *.spaces.live.com images.devilfinder.com *.blogspot.com www.flickr.com *.snap.com www.netvue.com tieba.baidu.com
[edit] redirect to photo page
www.alltheweb.com www.zapafly.com
[edit] Apache log file greping
awk '$1 == "eloise.cementhorizon.com" {print $8" "$12}' 2008-21_cementhorizon.com_access.log \
| awk '$1 ~ "\.(jpe?g|gif|bmp|png)$" {print $0}' \
| awk '$2 !~ ".cementhorizon.com|\"-\"" {print $2}' \
| sed -e 's_"http://\([^/]*\)/.*_\1_' | head
