View Full Version : Blocking domains?
09-10-2002, 03:28 AM
Is it possible to block a particular domain from accessing my site? It's a college domain, so if I block just IPs, I'm afraid that the annpying perpetrator on my site will simply find another computer to access my site. Or may something to block IPs that begin with the same #'s? Thanks.
09-10-2002, 04:44 AM
To block an IP or domain from viewing your site you would just use an .htaccess file in the root directory of your site. If it is coming from a college it could be next to impossible just to block that one person. If they using a computer located in a computer lab then they could simply use a different computer. If they are using their own computer in their dorm they may have a static IP for their computer. However if the school uses a proxy server which is likely the case then you could end up blocking the entire school from viewing it.
Best solution if this person is violating any TOS you have would be to contact the school's sysadmin and report them with whatever information you can collect about the person.
09-10-2002, 04:55 AM
I have no problem with blocking the entire school from accessing my page. what is the .htaccess file that I would use?
09-10-2002, 08:41 AM
Feyd, one of our fellow moderators wrote a tutorial on .htaccess. You can read through it at the beginning to learn more about .htaccess and then the section you will want is the Deny By IP/Domain part.
09-11-2002, 09:28 PM
Or you can try this (http://websiteowner.info/tutorials/server/bandwidththeft.asp)
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.