Magnolia 4.5 reached end of life on June 30, 2016. This branch is no longer supported, see End-of-life policy.
IP and HTTP method configuration provides the ability to configure the IP addresses that are allowed to access an author or public instance. If an IP that is not configured attempts to access the instance, it will be denied access. The filtering also verifies the HTTP methods that the IP can use when accessing the instance. If an allowed IP attempts to access the instance using a HTTP method that is not configured, it will be denied access.
IP and HTTP method configuration is in Configuration >
The default setting allows all IPs to access the instance using GET and POST methods. You can also allow HEAD, PUT and DELETE methods which are typically used by services such as WebDAV module or REST. You may want to allow these additional methods so that editors can use other tools to edit content on the author instance or to integrate other applications on the public instance.
allow-all in the above example is a rule. Any number of rules are allowed under
Each rule must have
methods child nodes. An
IP node's value must be set to a single IP but
* is also allowed as shown above. The
methods node's value can be set to multiple HTTP methods separated by commas. Any valid HTTP method can be included in the
To create a rule:
*(for all IPs) or a specific IP. The value needs to be the remote IP address contained within a HTTP servlet request.
methodsto HTTP methods (single or separated by commas).