Update documentation for maintenance mode (#342)
This commit is contained in:
parent
3552b4d70c
commit
363b12d8ad
|
@ -164,13 +164,15 @@ See <strong><a href="../../documentation/1.2/formreplay.html" class="wikilink1"
|
|||
|
||||
<p>
|
||||
|
||||
Two options are available:
|
||||
Some options are available:
|
||||
</p>
|
||||
<ul>
|
||||
<li class="level1"><div class="li"> Port</div>
|
||||
</li>
|
||||
<li class="level1"><div class="li"> HTTPS</div>
|
||||
</li>
|
||||
<li class="level1"><div class="li"> Maintenance mode</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
|
|
|
@ -582,12 +582,15 @@ The attribute key name can be used directly in <code>lemonldap-ng.ini</code> or
|
|||
<tr class="row179 rowodd">
|
||||
<td class="col0"> Check <acronym title="Cross Site Scripting">XSS</acronym> Attacks </td><td class="col1"> checkXSS </td><td class="col2 centeralign"> ✔ </td><td class="col3"> </td><td class="col4"> </td>
|
||||
</tr>
|
||||
<tr class="row180 roweven">
|
||||
<td class="col0"> Maintenance mode </td><td class="col1"> maintenance </td><td class="col2"> </td><td class="col3 centeralign"> ✔ </td><td class="col4"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<!-- SECTION "Main parameters" [264-10724] -->
|
||||
<!-- SECTION "Main parameters" [264-10771] -->
|
||||
<h2><a name="configuration_backend_parameters" id="configuration_backend_parameters">Configuration backend parameters</a></h2>
|
||||
<div class="level2">
|
||||
<table class="inline">
|
||||
|
@ -639,4 +642,4 @@ The attribute key name can be used directly in <code>lemonldap-ng.ini</code> or
|
|||
</table>
|
||||
|
||||
</div>
|
||||
<!-- SECTION "Configuration backend parameters" [10725-] --></div><!-- closes <div class="dokuwiki export">-->
|
||||
<!-- SECTION "Configuration backend parameters" [10772-] --></div><!-- closes <div class="dokuwiki export">-->
|
|
@ -71,6 +71,8 @@ Handler use the default Apache error code for the following cases:
|
|||
</li>
|
||||
<li class="level1"><div class="li"> An error occurs on server side: SERVER_ERROR (500)</div>
|
||||
</li>
|
||||
<li class="level1"><div class="li"> The application is in maintenance: <acronym title="Hyper Text Transfer Protocol">HTTP</acronym>_SERVICE_UNAVAILABLE (503)</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
|
@ -79,10 +81,11 @@ These errors can be catch trough Apache <code>ErrorDocument</code> directive, to
|
|||
</p>
|
||||
<pre class="code file apache"><span class="co1"># Common error page and security parameters</span>
|
||||
<span class="kw1">ErrorDocument</span> 403 http://auth.example.com/?lmError=403
|
||||
<span class="kw1">ErrorDocument</span> <span class="nu0">500</span> http://auth.example.com/?lmError=<span class="nu0">500</span></pre>
|
||||
<span class="kw1">ErrorDocument</span> 500 http://auth.example.com/?lmError=500
|
||||
<span class="kw1">ErrorDocument</span> <span class="nu0">503</span> http://auth.example.com/?lmError=<span class="nu0">503</span></pre>
|
||||
|
||||
<p>
|
||||
It is also possible to redirect the user without using <code>ErrorDocument</code>: the Handler will not return 403 or 500 code, but code 302 (REDIRECT).
|
||||
It is also possible to redirect the user without using <code>ErrorDocument</code>: the Handler will not return 403, 500, 503 code, but code 302 (REDIRECT).
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
@ -95,12 +98,12 @@ These parameters can be configured in Manager, in <code>General Parameters</code
|
|||
<ul>
|
||||
<li class="level1"><div class="li"> <strong>Redirect on forbidden</strong>: use 302 instead 403</div>
|
||||
</li>
|
||||
<li class="level1"><div class="li"> <strong>Redirect on error</strong>: use 302 instead 500</div>
|
||||
<li class="level1"><div class="li"> <strong>Redirect on error</strong>: use 302 instead 500 or 503</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<!-- SECTION "Forbidden and Server error" [724-1685] -->
|
||||
<!-- SECTION "Forbidden and Server error" [724-1820] -->
|
||||
<h1><a name="portal_redirections" id="portal_redirections">Portal Redirections</a></h1>
|
||||
<div class="level1">
|
||||
|
||||
|
@ -120,4 +123,4 @@ Often the redirection takes some time because it is user's first access to
|
|||
</p>
|
||||
|
||||
</div>
|
||||
<!-- SECTION "Portal Redirections" [1686-] --></div><!-- closes <div class="dokuwiki export">-->
|
||||
<!-- SECTION "Portal Redirections" [1821-] --></div><!-- closes <div class="dokuwiki export">-->
|
|
@ -283,6 +283,6 @@ LemonLDAP::NG is the first <acronym title="Single Sign On">SSO</acronym> softwar
|
|||
<a href="/_detail/icons/clock.png?id=start" class="media" title="icons:clock.png"><img src="../media/icons/clock.png" class="media" alt="" /></a>
|
||||
</div>
|
||||
</p>
|
||||
<ul class="rss"><li><div class="li"><a href="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2327" class="urlextern" title="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2327" rel="nofollow">Rev 2327 -- Reorganize files - work in progress (#LEMONLDAP-444)</a> by clement_oudot (2012/02/28 23:52)</div></li><li><div class="li"><a href="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2326" class="urlextern" title="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2326" rel="nofollow">Rev 2326 -- Reorganize files - work in progress (#LEMONLDAP-444)</a> by clement_oudot (2012/02/28 23:48)</div></li><li><div class="li"><a href="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2325" class="urlextern" title="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2325" rel="nofollow">Rev 2325 -- Reorganize files - work in progress (#LEMONLDAP-444)</a> by clement_oudot (2012/02/28 23:48)</div></li><li><div class="li"><a href="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2324" class="urlextern" title="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2324" rel="nofollow">Rev 2324 -- Move RELEASE file (#LEMONLDAP-444)</a> by clement_oudot (2012/02/28 23:43)</div></li><li><div class="li"><a href="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2323" class="urlextern" title="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2323" rel="nofollow">Rev 2323 -- Reorganize RPM related files (#LEMONLDAP-444)</a> by clement_oudot (2012/02/28 23:42)</div></li></ul>
|
||||
<ul class="rss"><li><div class="li"><a href="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2340" class="urlextern" title="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2340" rel="nofollow">Rev 2340 -- Manage maintenance mode in Handler (#LEMONLDAP-342)</a> by clement_oudot (2012/03/01 12:04)</div></li><li><div class="li"><a href="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2339" class="urlextern" title="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2339" rel="nofollow">Rev 2339 -- Update MANIFEST with new files (#LEMONLDAP-422) (#LEMONLDAP-432)</a> by clement_oudot (2012/03/01 09:38)</div></li><li><div class="li"><a href="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2338" class="urlextern" title="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2338" rel="nofollow">Rev 2338 -- Fr doc in progress (part of CAS issuer)</a> by guimard (2012/03/01 06:45)</div></li><li><div class="li"><a href="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2337" class="urlextern" title="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2337" rel="nofollow">Rev 2337 -- Delete Debian official changelog: no need to store it here</a> by guimard (2012/02/29 20:32)</div></li><li><div class="li"><a href="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2336" class="urlextern" title="http://websvn.ow2.org/revision.php?repname=lemonldap&path=%2F&isdir=1&rev=2336" rel="nofollow">Rev 2336 -- Create maintenance option (#LEMONLDAP-342)</a> by clement_oudot (2012/02/29 18:19)</div></li></ul>
|
||||
</div>
|
||||
<!-- SECTION "SVN activity" [3361-] --></div><!-- closes <div class="dokuwiki export">-->
|
Loading…
Reference in New Issue
Block a user