![]() |
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.
|
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. |
Hmmm...interesting info.
|
All times are GMT -7. The time now is 01:44 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123