|
|
|
||||
|
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 |
|
ex-TeenGodFather
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
|
How do I block sites in .htaccess?
I've found some japanese (?), russian (?), and arabic (?) sites that open my galleries, and sites in frames. How do I fuck them up?
Thanks.
__________________
..and I'm off. |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Jun 2001
Location: Apple Valley, MN
Posts: 112
|
|
|
|
|
|
|
#3 | |
|
ex-TeenGodFather
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
|
Quote:
__________________
..and I'm off. |
|
|
|
|
|
|
#4 |
|
ex-TeenGodFather
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
|
No.
I'm not THAT stupid. I'll check it out.
__________________
..and I'm off. |
|
|
|
|
|
#5 |
|
ex-TeenGodFather
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
|
I don't want them to see the pages at all.
__________________
..and I'm off. |
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Jun 2001
Location: Apple Valley, MN
Posts: 112
|
http://www.able2know.com/forums/viewtopic.php?t=5040
This has PHP code and also lists most language codes. |
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Nov 2001
Location: Poland
Posts: 219
|
try this
Code:
# Rewrite engine
RewriteEngine on
# Denied IPs
RewriteCond %{REMOTE_ADDR} ^101.101.101.101$ [OR]
RewriteCond %{REMOTE_ADDR} ^102.102.102.102$
RewriteRule .* - [F]
# Denied Ref
RewriteCond %{HTTP_REFERER} ^http://www.notallowedref1.com/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://www.notallowedref2.com/.*$ [NC]
RewriteRule .* - [F]
when you want to send them to other page you must change Code:
RewriteRule .* - [F] Code:
RewriteRule .* http://www.sitewhenyouwantthemtogo.com [R,L] |
|
|
|