diff options
author | Menno Duursma <druiloor@zonnet.nl> | 2010-07-22 15:59:38 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-07-25 21:52:40 -0500 |
commit | 7cd192a0d89fb9a61bc8cb3fdab5b9ab5e8cbca6 (patch) | |
tree | 0a2bf098056e5715663c091ee5c7a8cd35e9a9fa /network/mod_hosts_access/README | |
parent | b9ad8552964d424e3eda681b34caf559292fe9e5 (diff) | |
download | slackbuilds-7cd192a0d89fb9a61bc8cb3fdab5b9ab5e8cbca6.tar.gz |
network/mod_hosts_access: Build bump, various changes.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/mod_hosts_access/README')
-rw-r--r-- | network/mod_hosts_access/README | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/network/mod_hosts_access/README b/network/mod_hosts_access/README index 2fab50ad9e..662c1acc43 100644 --- a/network/mod_hosts_access/README +++ b/network/mod_hosts_access/README @@ -3,37 +3,4 @@ mod_hosts_access This is a DSO (dynamically shared object) module for the Apache webserver that uses libwrap (TCP Wrappers) to check if the connecting hosts is allowed. -This system works well with dynamic blocking scripts, such as DenyHosts, and -configfile distribution systems, such as Cfengine. Especially if other blocking -methods differ between hosts at a site (e.g. kernel-level firewalling means). - -You'll need to add the following line to /etc/httpd/httpd.conf: - Include /etc/httpd/mod_hosts_access.conf - -LoadModule hosts_access_module lib/httpd/modules/mod_hosts_access.so - -The /etc/hosts.{allow,deny} access control checking for the "httpd" service -can now be enabled or disabled on a per directory basis, by adding HostsAccess -directive to its declaration, e.g. again in /etc/httpd/httpd.conf: - -# First, we configure the "default" to be a very restrictive set of -# permissions. -# -#<Directory /> -# HostsAccess On -# Options FollowSymLinks -# AllowOverride None -#</Directory> - -To test, restart apache for it to load the module; edit /etc/hosts.allow -adding a line like the following: - -httpd: localhost: deny - -Access from 'localhost' (127.0.0.1) should now be disallowed, thus requesting -the index page should fail, to verify try: - - lynx -dump localhost - -The same can be done in a .htaccess file if AllowOverride Limit has been set. - +See also: README.SLACKWARE |