The goal of this handler is to read vhost configuration from the website itself and not in LLNG configuration. Rules and headers are set in a <strong>rules.json</strong> file available at the root of the website (ie <ahref="http://website/rules.json"class="urlextern"title="http://website/rules.json"rel="nofollow">http://website/rules.json</a>). This file looks like:
If this file is not found, a default rule is applied (accept) and 1 header is sent (Auth-User ⇒ $uid)
</p>
<p>
There is nothing to configure to use it except that:
</p>
<ul>
<liclass="level1"><divclass="li"> you have to choose this handler <em>(directly using VHOSTTYPE environment variable [see below] or using manager if your websites are declared)</em></div>
</li>
<liclass="level1"><divclass="li"> you can set the loopback <abbrtitle="Uniform Resource Locator">URL</abbr> needed by the DevOps handler to get /rules.json. Default to <ahref="http://127.0.0.1"class="urlextern"title="http://127.0.0.1"rel="nofollow">http://127.0.0.1</a>:<server-port></div>
<divclass="noteimportant">Note that DevOps handler will refuse to compile rules.json if <ahref="safejail.html"class="wikilink1"title="documentation:2.0:safejail">Safe Jail</a> isn't enabled.