b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » The Reductionist Challenge » Message 2254124

[challenge entry] A well known
web character in the least number of shapes


i bet someone beat me to it!

From the The Reductionist Challenge challenge. See all 1013 entries (closed)

(, Sun 2 Nov 2003, 10:31, archived)
# oops

(, Sun 2 Nov 2003, 10:32, archived)
# tuttut
(, Sun 2 Nov 2003, 10:34, archived)
# i bet someone beat me to it! Yes the
bloke you nicked it from
(, Sun 2 Nov 2003, 10:36, archived)
# WTF?
/edit - nice anti-deeplinking image!
(, Sun 2 Nov 2003, 10:36, archived)
# How
do i set a anti-deeplinking image on my server?
(, Sun 2 Nov 2003, 10:38, archived)
# Use htaccess
Umm, but don't ask me how to do that exactly, you'll have to Google for it!
(, Sun 2 Nov 2003, 10:38, archived)
# yep
you need to enable mod_rewrite on the web server, and modify .htaccess
(, Sun 2 Nov 2003, 10:39, archived)
# Hmm
I only ever use htaccess for custom error pages!
(, Sun 2 Nov 2003, 10:41, archived)
# ah it`s no big deal to set up
there`s loads of tutorials for it, and basically you only need 3 or 4 rules, to block .gif / .jpg for example from anywhere except places you`ve explicitly set
(, Sun 2 Nov 2003, 10:45, archived)
# I'm not too fussed to be honest...
I don't think anyone would want to nick my images!
(, Sun 2 Nov 2003, 10:46, archived)
# nah but
it`s nice to be able to do it :-)

there was a phase when someone was posting nearly image off b3ta onto some shitty forum... you should have seen some of the anti hotlinking pics - I think sargant did a good one
(, Sun 2 Nov 2003, 10:48, archived)
# Ha ha ha
I bet he did!
(, Sun 2 Nov 2003, 10:49, archived)
# i love it when people hotlink my stuff
i get to see so much of the interweb by checking my webstats. i'd never want to stop them!
(, Sun 2 Nov 2003, 10:50, archived)
# my interweb stats only wshow the top 25
which qre invariably b3ta archive pages. i can download my logs but i can't be arsed.
(, Sun 2 Nov 2003, 10:51, archived)
# i wrote a little thing to strip everything except for urls out of an ascii page
maybe i'll tidy it up and post it some time
(, Sun 2 Nov 2003, 10:53, archived)
# i disabled it in the end
people were using proxies to view b3ta, hence changing the url and, well, destroying the front page
(, Sun 2 Nov 2003, 10:50, archived)
# This works for me.

RewriteEngine on

RewriteRule images/image1\.gif$ - [R,L]
RewriteRule images/image2\.jpg$ - [R,L]
RewriteRule nosteal.gif$ - [R,L]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://pub([0-9]+)\.ezboard\.com/b([a-z0-9]*)\.showUserPublicProfile\?gid\=ezuser [NC]
RewriteCond %{HTTP_REFERER} !^http://pub([0-9]+)\.ezboard.com/(f|b)ezboard.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?u-muppet.co.uk$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?u-muppet.co.uk/.*$ [NC]
RewriteRule \.(gif|jpg)$ u-muppet.co.uk/nosteal.gif [R,L]

RewriteRule css/test\.css$ - [R,L]
RewriteRule bob\.js$ - [R,L]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://pub([0-9]+)\.ezboard\.com/b([a-z0-9]*)\.showUserPublicProfile\?gid\=ezuser [NC]
RewriteCond %{HTTP_REFERER} !^http://pub([0-9]+)\.ezboard.com/(f|b)ezboard.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?u-muppet.co.uk$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?u-muppet.co.uk/.*$ [NC]
RewriteRule \.(css|js)$ - [F]

(, Sun 2 Nov 2003, 10:54, archived)
# count yourself lucky
I`m gonna have to write a Java URL filter for my web server :-)
(, Sun 2 Nov 2003, 11:00, archived)
# the hard bit is
making sure mod_rewrite is installed! I had to (when I ran apache) rebuild the server from source

the rules are fairly easy, and you can specify which files can and can`t be gotten at from external urls (i.e. you can set up who`s allowed to hot link your stuff)
(, Sun 2 Nov 2003, 10:46, archived)
# it`s usually called "hotlinking"
and if you`re running Apache it`s very easy
(, Sun 2 Nov 2003, 10:39, archived)
# but, but,
dontknow.net is a web design company! you should know everything there is to know about the whole interweb!
(, Sun 2 Nov 2003, 10:46, archived)
# "should"
:0)
(, Sun 2 Nov 2003, 10:52, archived)
# yeah
it`s a bit... blinding!
(, Sun 2 Nov 2003, 10:38, archived)
# C'mon
it's garunteed to fuck up any webpage that it's on!
(, Sun 2 Nov 2003, 10:39, archived)
# I guess it`s better
than a goatse :-)
(, Sun 2 Nov 2003, 10:41, archived)