Listing 3. Apache Directives in access.conf
<Directory /var/web/webspace>
# Allow all override options so I can adjust the security
# with a .htaccess file at later date if I choose to.
AllowOverride All
#
# By default don't let anybody in.
order deny,allow
deny from all
#
# Grant access to a handful of specific hosts.
allow from frodo.tucc.uab.edu
allow from bartleby.tucc.uab.edu
allow from tuccster.tucc.uab.edu
allow from kcanada.tucc.uab.edu
allow from mordor.tucc.uab.edu
allow from pberk.tucc.uab.edu
</Directory>}
Copyright © 1994 - 2018 Linux Journal. All rights reserved.