<divclass="noteimportant">The manager is now natively written for FastCGI. Portal will follow in 2.0
</div>
<p>
<abbrtitle="LemonLDAP::NG">LL::NG</abbr> Portal can be used under a <ahref="http://en.wikipedia.org/wiki/FastCGI"class="urlextern"title="http://en.wikipedia.org/wiki/FastCGI"rel="nofollow">FastCGI system</a> very easily. You just have to load <abbrtitle="LemonLDAP::NG">LL::NG</abbr> FastCGI support and write a loop in the CGI. Example with the portal:
<b><spanstyle="color:#500;">LMAUTH:</span> while ( my $portal = Lemonldap::NG::Portal::SharedConf->new({}) ) </b>{
<spanclass="re0"># ...</span>
}
</pre>
</p>
<p>
Key steps :
</p>
<ul>
<liclass="level1"><divclass="li"> Load <strong>“Lemonldap::NG::Common::CGI qw(fastcgi)“</strong> before any other <abbrtitle="LemonLDAP::NG">LL::NG</abbr> library</div>
</li>
<liclass="level1"><divclass="li"> insert a loop around the <abbrtitle="HyperText Markup Language">HTML</abbr> printing, starting with the object creation <em>(→new)</em></div>
</li>
<liclass="level1"><divclass="li"> insert a label <strong>“LMAUTH”</strong> ahead of the loop</div>
</li>
</ul>
<p>
An example is given under the source tree : lemonldap-ng-portal/example/index.fcgi