At 11:07 2/26/2002 -0500, Paul Hamm wrote:
>Use hosts.allow and hosts.deny files in /etc.  This will allow you to
>configure access to any/all services on the machine.

Not quite. These files only affect services that are started by inetd 
(telnet, ftp), or that have the tcpwrappers libraries compiled in 
(OpenSSH). Apache is not started by inetd and does not include the 
tcpwrappers libraries.

Additionally, recent versions of Red Hat (7.x ?) use xinetd instead of 
inetd. Xinetd is controlled by /etc/sysconfig/xinetd and by the files in 
/etc/xinetd.d/.

In any case, the closest analog to this that you can do with Apache is 
actually the IP address restrictions you can add to httpd.conf or 
directory-specific .htaccess files.

Tony
-- 
Anthony E. Greene <[EMAIL PROTECTED]>
PGP Key: 0x6C94239D
AOL/Yahoo Chat: TonyG05
Linux. the choice of a GNU generation. <http://www.linux.org/>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to