Welcome to WebmasterWorld Guest from 54.221.87.97

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

htaccess help needed for blocking outside referers

how can i let only people who visit my site download files and not leechers

     

Dekkon

10:02 pm on Sep 10, 2003 (gmt 0)



ive been checking forums and htaccess help sites, but im not having much luck. i host a mirror for a friend's website. the user goes to www.<website>.com and is randomly taken to a mirror.

now my question is how once they come to my mirror, how do i only let people who actually visit the website download files and not people who link on other websites?

michael

jdMorgan

10:22 pm on Sep 10, 2003 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Dekkon,

Welcome to WebmasterWorld [webmasterworld.com]!

This thread [webmasterworld.com] might give you some ideas. It discusses code to serve alternate images to outside referers (hotlinkers), and can be adapted to other uses.

Ref: Introduction to mod_rewrite [webmasterworld.com]

Jim