Modules/httpd acl
From the makers of InspIRCd.
| Description
|
| This module adds access control lists to the m_httpd module and other modules that depend upon it. Access control lists may be built from IP blacklists, IP whitelists, and usernames and passwords. |
| Configuration Tags
|
This module adds the following configuration tag:
<httpdacl path="/stats*" types="password,whitelist" username="secretstuff" password="mypasshere" whitelist="127.0.0.*,10.*"> Defines an access control list.
You may define multiple httpdacl tags, which will be read and checked in the order specified in the configuration files. |
| Additional Modes
|
| None |
| Additional Commands
|
| None |
| Special Notes
|
| It is strongly recommended you make good use of this module to lock down any other m_httpd modules against their content being read by those who should not be reading them. |
| Examples
|
|
Restrict access to the m_httpd_stats module to all but the local network and when the correct password is specified: <httpdacl path="/stats*" types="password,whitelist" username="secretstuff" password="mypasshere" whitelist="127.0.0.*,10.*"> Deny all connections to all but the main index page: <httpdacl path="/*" types="blacklist" blacklist="*"> |
| Dependencies
|
| The HTTP Server Module |

















