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 02-16-2005, 06:52 PM   #1
AmeliaG
Too lazy to set a custom title
 
AmeliaG's Avatar
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 10,557
Banning

Hey, can someone tell me the difference in the code for blocking an IP from viewing a domain vs. redirecting an IP vs. banning anyone at a particular domain from looking at anything on a server? .htaccess vs. apache? Thanks much.
__________________
GFY Hall of Famer

AltStar Hall of Famer




Blue Blood's SpookyCash.com

Babe photography portfolio
AmeliaG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 07:36 PM   #2
Manansala
Confirmed User
 
Join Date: Jan 2005
Posts: 551
If you ban an IP, any domain that resolves to that IP will be banned. If you ban a domain, the IP that resolves from that domain gets banned. If you have a custom resolver, set it to 3600 on TTL and every IP will reverse both to its RDNS and hostname to IP quickly and painlessly. Please be advised that it may consume bandwidth and system resources if not set properly.

Everything with a * is considered a wildcard. IP 66.59.* bans everybody on that block, which is yea, alot!

HOST *.domain.com bans eveything using that dns on the said domain name.

Set effective TTL to 3600 (it's the number of seconds, push it more down and you'll have trouble). resolv.conf and hostname.id.db sets TTL.

httpd or .htaccess. Both works fine as long as you know what you're doing. Both can be customized in many different ways. .htaccess can control access on individual/multiple dir/domains and httpd/apache will entirely control everything. .htaccess will cry.
__________________
I don't have a signature. !
Manansala is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-17-2005, 02:52 AM   #3
reynold
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Global Traveler
Posts: 51,271
Hmmm...interesting info.
reynold 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.