NANOWEB, the aEGiS PHP web server

Access Control module

The access control module mod_ac is loaded per default and allows you to restrict retrieval of web pages from your server to specified hosts or to disallow this only for some.

The directive ACPolicy gives the default for all hosts. If it is set to allow everybody can access pages of your server. This is the default bahaviour for public www servers, but for intranet systems where you only want local hosts to get access you could use deny as default and list all your local servers in one or more ACAllowIP or ACAllowHost directives.
Likewise you could use ACDenyIP and ACDenyHost in the former case.

If one of the requesting hosts isn't granted access it will receive an error page which you can customize using ACBlockError and ACBlockMessage.

NANOWEB, the aEGiS PHP web server