Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-11-2005, 11:24 AM   #1
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
the htaccess code to prevent hotlinking

what is it? and id also like to know how to put a site in the code that can hotlink, u know like GFY can hotlink when i wanna post some pics here.
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-11-2005, 11:28 AM   #2
SplitInfinity
Confirmed User
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
Example.... have fun! :-)

RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://.*xxxfantasyland.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://.*xxxfantasyland.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://216.188.105.94/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://216.188.105.94:80/.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.xxxfantasyland.com
ErrorDocument 404 http://216.188.105.94/pussy/index.html
SplitInfinity is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-11-2005, 01:08 PM   #3
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
Quote:
Originally Posted by SplitInfinity
Example.... have fun! :-)

RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://.*xxxfantasyland.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://.*xxxfantasyland.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://216.188.105.94/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://216.188.105.94:80/.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.xxxfantasyland.com
ErrorDocument 404 http://216.188.105.94/pussy/index.html
ok thanks, gonna test it later on
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.