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 07-04-2003, 07:36 AM   #1
emmanuelle
Confirmed User
 
emmanuelle's Avatar
 
Join Date: Mar 2003
Location: Oh Canada!
Posts: 3,662
htaccess help

One of my paysites is getting hammered by password lists. While I am redirecting my 401 & 403 traffic, I would like to keep them off the site entirely since they are sucking up all the free trailers in the free area.
Can somebody please advise me how to redirect this traffic by referral?
emmanuelle is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2003, 07:45 AM   #2
Sexzity
Confirmed User
 
Join Date: Jun 2002
Location: Cyperspaces!
Posts: 1,329
Very usefull tool:
http://www.clockwatchers.com/htaccess_tool.html


Another great tool, to search for domains:
http://sexzity.net/domains/
It is new and free for adult webmasters - try it!
Sexzity is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2003, 07:51 AM   #3
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://hotlinker1.com/* [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://hotlinker2.com/* [NC]
RewriteRule /* http://www.popuphell.com [R,L]

Something like that. You should not have an OR on the last RewriteCond, I've done that mistake couple of times
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2003, 07:59 AM   #4
mephisto
Registered User
 
Join Date: Oct 2002
Posts: 60
nicer way to do it than referer based. add code that drops a user cookie say something like encrypted timestamp and then check for it when serving the mpg by putting the mpg link through a cgi script.
also make sure your content is only servable by the script and is in a directory that is unreachable to the webserver.
or you can put in something like the paypal security system (pls retype numbers that you see sort of thing)
__________________
Seek freedom and become captive of your desires. Seek discipline and find your liberty.

AB-Arun
mephisto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2003, 08:03 AM   #5
mephisto
Registered User
 
Join Date: Oct 2002
Posts: 60
also this

RewriteEngine on
RewriteMap hosts-deny txt:/etc/hosts.deny
RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
RewriteCond ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !=NOT-FOUND
RewriteRule ^/.* - [F]

THe /etc/hosts.deny is a suggestion, you may use whatever you choose.
__________________
Seek freedom and become captive of your desires. Seek discipline and find your liberty.

AB-Arun
mephisto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2003, 08:09 AM   #6
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
A very wise man taught me something many many moons ago.

KISS - Keep It Simple Stupid
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2003, 08:14 AM   #7
mephisto
Registered User
 
Join Date: Oct 2002
Posts: 60
trying to help him out. as for simplicity, sometimes too much simplicity can hurt you.
__________________
Seek freedom and become captive of your desires. Seek discipline and find your liberty.

AB-Arun
mephisto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2003, 08:17 AM   #8
emmanuelle
Confirmed User
 
emmanuelle's Avatar
 
Join Date: Mar 2003
Location: Oh Canada!
Posts: 3,662
Now by putting the htaccess in my free area, am I going to bring the site to a crawl?

I appreciate everyone's help here!
emmanuelle is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2003, 08:38 AM   #9
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
Quote:
Originally posted by mephisto
trying to help him out. as for simplicity, sometimes too much simplicity can hurt you.
Don't get offended. Take it as a joke
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2003, 08:40 AM   #10
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
Quote:
Originally posted by emmanuelle
Now by putting the htaccess in my free area, am I going to bring the site to a crawl?

I appreciate everyone's help here!
You should be all good. Unless yu have a list with 500 hotlinkers and lots of traffic. Then it's probably time to figure out another solution.
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2003, 12:25 PM   #11
mephisto
Registered User
 
Join Date: Oct 2002
Posts: 60
Quote:
Originally posted by swedguy
Don't get offended. Take it as a joke
just fucking around..... heehee
__________________
Seek freedom and become captive of your desires. Seek discipline and find your liberty.

AB-Arun
mephisto 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.