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
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 10-18-2001, 06:45 AM   #1
lexxx2
Confirmed User
 
Join Date: Apr 2001
Posts: 148
htaccess ... ???? Need help, PLZ!

I need HTACCESS file to protect my galleries from HotLink and redirect Bookmakers and traffic with (Russian, china... IP)
This code protect from Hotlink...


AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://.*mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://xxx.xxx.xxx/.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.redirect address [R,L]

Please help me write full code, to do all i need, or give me an example of Working File..


P.S. Can i be banned if i`ll redirect traffic with China, russian... IP from my galleries, to my freesite???

Thanx..



[This message has been edited by lex (edited 10-18-2001).]
lexxx2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-19-2001, 12:15 AM   #2
Free Recip Host
Registered User
 
Join Date: Oct 2001
Location: Murray, USA
Posts: 27
AuthUserFile /dev/null

AuthGroupFile /dev/null

RewriteEngine On

RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com
RewriteCond %{HTTP_REFERER} !^http://yoursite.com
RewriteCond %{HTTP_REFERER} !^http://yourIp

RewriteRule /* http://www.wheretoredirectunauthorizedtraffic.com [R,L]


That works for me, and yeah my guess is that you can get banned for that.

------------------
<A HREF="http://www.free-recip-host.com" TARGET=_blank>Free Recip Host
</A>Get your recips hosted for free and cut your work in half!
Free Recip Host 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



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.