Web Hosting Talk







View Full Version : Mod_access


MikeM
07-10-2001, 10:40 PM
I know its here, but i can't find it..

A freind is running the UBB on his mandrake server.
He has enabled File upload to allow people to post pictures on the site... then, Lo and behold he starts to find references in his logs from other sites referencing the images ( does that make sense?)
anyway.. we've tried mod_access allow from .....
deny all , but this will not allow the image to show on his site... any idea's????

davidb
07-10-2001, 11:56 PM
What you need to do is disallow hotlinking, this can be done in mod rewrite, search the boards for hot linking and something should come up

MikeM
07-11-2001, 07:23 AM
Didb, thanx, that did it.....I knew it was here, but i just needed the phrase hotlinking i guess...
anyway, thanx again

venomx
07-11-2001, 06:26 PM
When I tried Mod_access it stopped images even on my site. :(

davidb
07-11-2001, 08:12 PM
Thats why you want mod_rewrite, basicly what the code that you are looking for does is not send the images when the request comes from any domain but urs.

venomx
07-11-2001, 08:29 PM
Wait what was I thinking... mod_rewrite is what I was talking about...

davidb
07-11-2001, 08:31 PM
Then you might of done it wrong, give me a day, somewhere I have code I used before and it works like a charm.