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.
the htaccess code to prevent hotlinking
Collapse
X
-
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 onOriginally posted by SplitInfinityExample.... 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
Comment

Comment