deny http access based on IP on FC3

CodeHeads ch at code-heads.com
Mon Jan 23 16:47:07 UTC 2006


On Mon, 2006-01-23 at 11:40 -0500, yonas abraham wrote:
> hi,
> 
> I want to block a given IP from accessing my site, which is running 
> apache on a fully uptodated FC3 machine.
> 
> I taught I would just put the ip on /etc/hosts.deny and restart the 
> machine. But It is not working. I can block an access to sshd very 
> simply by adding the IP or sshd: IP and it works fine.
> 
> I wouldn't mind blocking every service to that IP in my machine but 
> preferably only httpd block.
> 
> thanks
> 
> yonas
> 

This might be what you are looking for:
http://httpd.apache.org/docs/1.3/mod/mod_access.html 

-- 
~WILL~
Public Key: 0x21715193
Key: http://code-heads.com/keys/ch.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060123/85aee842/attachment-0001.sig>


More information about the fedora-list mailing list