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
Approved by: robw810
Keywords: mod_hosts,apache,web,http,security,libwrap,tcp_wrappers

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)

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-2012 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds
Valid XHTML and CSS by WebSight Designs | Hosting by OnyxLight Communications