View Single Post
Old 04-22-2001, 01:20 PM  
TFCash
Confirmed User
 
Industry Role:
Join Date: Apr 2001
Posts: 1,738
Ask your host if they have mod_rewrite compiled into their apache web server. If so you should be able to create a file call .htaccess in your images directory that is something like this:

AuthUserFile /dev/null
AuthGroupFile /dev/null

RewriteEngine On

RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com.* [NC]
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com.* [NC]

RewriteRule /* http://www.yourdomain.com/index.html [R,L]

That way only you can call the images from those directories, that have proper permission.

To see an example of what I mean try looking at this photo, it will automatically take you to my main page.
http://www.lesbian-pictures.com/Sun/15/pic1.jpg

it will redirect you back to http://www.lesbian-pictures.com/

And I don't want to hear any shit about the look of the site either, we just got the domain and I threw it together so that I don't lose all that wonderful traffic that my pain in the ass from Turkey paid for. In case your not sure what I'm talking about you can read the thread here about it
http://bbs.gofuckyourself.com/board/...ML/002711.html

Tim
TFCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote