[ic] Interchange and IPs
Carlc Internet Services
mvu at carlc.com
Tue Oct 13 13:47:42 UTC 2009
> Message: 4
> Date: Tue, 13 Oct 2009 02:08:12 -0700
> From: Charles Wood <chip_wood at comcast.net>
> Subject: [ic] Interchange and IPs
> To: interchange-users at icdevgroup.org
> Message-ID: <C14B6CD0-89A5-4007-B79C-257551B335EF at comcast.net>
> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
> A friend of mine runs a website using Interchange and
> unfortunately we would like to ban a few IP addresses from
> accessing the website. I am not familiar with Interchange
> other than the few functions I use for moderating a forum. Is
> it possible to ban IP addresses using Interchange or should I
> look into programs specifically made to do this?
> Thank you,
> Chip Wood
It would be easier to use Apache to block them. Depending on how you've setup interchange, you can either block them using
a .htaccess file in your main directory (and/or CGI directory) or inside of the apache httpd.conf file.
A .htaccess file in your home directory would look like this:
allow from all
# Block the following groups of IP blocks...
deny from 188.8.131.52/18
deny from 184.108.40.206/19
(more "deny from" lines until done)
deny from 220.127.116.11/20
deny from 18.104.22.168/18
ErrorDocument 403 http://www.carlc.com
The ErrorDocument will send them where you want them go to instead...
You can also put this in your Apache httpd.conf file, if you want, and it's similar but check with Apache.org to get it
correct inside of httpd.conf. Remember, you will have to do this for your CGI directory as well as your regular file areas to
completely protect Interchange.
Providing Interchange websites and hosting to the community since 1999
More information about the interchange-users