: I'm running a personal server on Apache 1.1, and was wondering how to
: DENY access to a certain IP-address, so that the IP-address in
: question would not have access to WEB-based information.
: where would I add in this info? I have tried editing the ACCESS.CONF
: in the Apache directory, but it doesn't seem to have any effect.
# access.conf: Global access configuration
# /usr/local/etc/httpd/ should be changed to whatever you set ServerRoot to.
<Directory /etc/httpd>
Options Indexes FollowSymLinks
</Directory>
<Directory /path/to/limit>
<Limit>
order deny,allow # Deny everyone
deny from all
allow from 194.207.68 194.207.69 # but allows these class C's to access
</Limit>
</Directory>
The re-load httpd
: I have been able to DENY everything else in INETD, by editing the
: HOSTS.DENY file in /etc, but it doesn't affect Apache.
--
Warp Drive Internet Services Ltd. Tel: 01772-315-151 Fax: 01772-314-141
Dialup SLIP/PPP access, WWW design, Web space, FTP Space, UUCP, News Feeds,
Leased Lines, Domain Registrations... and more! Yes we do sell to re-sellers.
Tel: 01772-315-151 Fax: 01772-314-141 http://www.warp.co.uk/
Unsolicited bulk e-mail ads are delivered to the silicon bit bucket in the sky