Computer House Home PageList of products and servicesDrivers, Utilities, Info and More!Learn more about Computer House

Question
 How can I deny someone from viewing my web site?
 
Answer
 
If you want to deny access to their web site for a specific IP, do the following:

1. Do you have the IP address or hostname for the person giving the problem. If yes, then proceed to Step 2. If not, review your /www/logs/access_log via the cpanel or from FTP.
2. Download access.conf in ascii mode.
3. In access.conf, add the following:

<Directory /www/htdocs>
deny from thesite.com
</Directory>

4. Save the file.
5. Upload the file in ASCII mode back to the /www/conf directory.

This will ensure people viewing your site from thesite.com will get a "Forbidden" error. They will not be able to view or navigate your website.
 
Related Links
 More information on this Apache function can be found at http://www.apahce.org
Back to Index

The Computer House Technology Center, Inc.
740 South Sixth Avenue
Galloway, New Jersey 08205
(800) 372-6834 --- FAX: (609) 748-9776

Copyright © 2001 Computer House, Inc. All Rights Reserved.