|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
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? |
|
|
|
|
|
#2 |
|
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! |
|
|
|
|
|
#3 |
|
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 |
|
|
|
|
|
#4 |
|
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 |
|
|
|
|
|
#5 |
|
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 |
|
|
|
|
|
#6 |
|
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 |
|
|
|
|
|
#7 |
|
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 |
|
|
|
|
|
#8 |
|
Confirmed User
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! |
|
|
|
|
|
#9 | |
|
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
Quote:
|
|
|
|
|
|
|
#10 | |
|
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
Quote:
|
|
|
|
|
|
|
#11 | |
|
Registered User
Join Date: Oct 2002
Posts: 60
|
Quote:
__________________
Seek freedom and become captive of your desires. Seek discipline and find your liberty. AB-Arun |
|
|
|
|