This script is for Slackware 11.0 only and may be outdated.

SlackBuilds Repository

11.0 > Network > mod_hosts_access (1.1.0)

mod_hosts_access

This is a DSO (dynamically shared object) module for the Apache webserver
that uses libwrap (TCP Wrapper) to check if the connecting hosts is allowed.

To enable it, add to /etc/apache/httpd.conf following lines:

LoadModule hosts_access_module libexec/apache/mod_hosts_access.so
AddModule mod_hosts_access.c

At appropriate places (i.e. where other modules are loaded similarly).

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.:

# First, we configure the "default" to be a very restrictive set of
# permissions.
#
<Directory />
HostsAccess On
Options FollowSymLinks
AllowOverride None
</Directory>

The same can be done in a .htaccess file if AllowOverride Limit has been set.

Maintained by: Menno E. Duursma
Keywords: mod_hosts,apache,web,http,security,libwrap,tcp_wrappers
ChangeLog: mod_hosts_access

Homepage:
http://www.klomp.org/mod_hosts_access/

Source Downloads:
mod_hosts_access-1.1.0.tar.gz (2e4fd22e778c8d98d433344a46421eb7)

Download SlackBuild:
mod_hosts_access.tar.gz
mod_hosts_access.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 11.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds