Sophie

Sophie

distrib > Fedora > 20 > x86_64 > by-pkgid > f98ae754d110de22d0d172107b723e35 > files > 1326

cherokee-1.2.103-3.fc20.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="en-us" />
    <meta name="ROBOTS" content="ALL" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="MSSmartTagsPreventParsing" content="true" />
    <meta name="Keywords" content="cherokee web server httpd http" />
    <meta name="Description" content="Cherokee is a flexible, very fast, lightweight Web server. It is implemented entirely in C, and has no dependencies beyond a standard C library. It is embeddable and extensible with plug-ins. It supports on-the-fly configuration by reading files or strings, TLS/SSL (via GNUTLS or OpenSSL), virtual hosts, authentication, cache friendly features, PHP, custom error management, and much more." />
    <link href="media/css/cherokee_doc.css" rel="stylesheet" type="text/css" media="all" />
  </head>
<body>
<h2 id="_a_href_index_html_index_a_8594_a_href_modules_html_modules_a_8594_a_href_modules_handlers_html_handlers_a"><a href="index.html">Index</a> &#8594; <a href="modules.html">Modules</a> &#8594; <a href="modules_handlers.html">Handlers</a></h2>
<div class="sectionbody">
</div>
<h2 id="_handler_server_info">Handler: Server Info</h2>
<div class="sectionbody">
<div class="paragraph"><p>The Server Info handler is used to create rules that can provide
information about the web server. When these rules are matched,
information regarding Cherokee&#8217;s status will be displayed. The
information will be refreshed every 30 seconds.</p></div>
<div class="paragraph"><p>But that is not all. Besides the HTML output, the handler makes the
information available for direct consumption by some of the most
popular programming languages.</p></div>
<div class="tableblock">
<table rules="all"
width="100%"
frame="border"
cellspacing="0" cellpadding="4">
<col width="35%" />
<col width="65%" />
<thead>
<tr>
<th align="left" valign="top">Language   </th>
<th align="left" valign="top"> Web path</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top"><p class="table">Python</p></td>
<td align="left" valign="top"><p class="table">&lt;HANDLER WEBDR&gt;/info/py</p></td>
</tr>
<tr>
<td align="left" valign="top"><p class="table">Ruby</p></td>
<td align="left" valign="top"><p class="table">&lt;HANDLER WEBDR&gt;/info/ruby</p></td>
</tr>
<tr>
<td align="left" valign="top"><p class="table">PHP</p></td>
<td align="left" valign="top"><p class="table">&lt;HANDLER WEBDR&gt;/info/php</p></td>
</tr>
<tr>
<td align="left" valign="top"><p class="table">Javascript</p></td>
<td align="left" valign="top"><p class="table">&lt;HANDLER WEBDR&gt;/info/js</p></td>
</tr>
</tbody>
</table>
</div>
<div class="paragraph"><p>The <tt>type</tt> parameter specifies influences the verbosity of the output.</p></div>
<div class="tableblock">
<table rules="all"
width="100%"
frame="border"
cellspacing="0" cellpadding="4">
<col width="20%" />
<col width="10%" />
<col width="70%" />
<thead>
<tr>
<th align="left" valign="top">Parameters </th>
<th align="left" valign="top">Type   </th>
<th align="left" valign="top">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top"><p class="table">type</p></td>
<td align="left" valign="top"><p class="table">String</p></td>
<td align="left" valign="top"><p class="table">just_about | normal | connection_details</p></td>
</tr>
</tbody>
</table>
</div>
<div class="paragraph"><p>If set to <tt>just_about</tt>, it will display:</p></div>
<div class="ulist"><ul>
<li>
<p>
Release number of Cherokee.
</p>
</li>
<li>
<p>
Brief license notice.
</p>
</li>
</ul></div>
<div class="paragraph"><p>If set to <tt>normal</tt>, some extra information will be provided regarding:</p></div>
<div class="ulist"><ul>
<li>
<p>
General Information
</p>
</li>
<li>
<p>
Server Core
</p>
</li>
<li>
<p>
Current connections
</p>
</li>
<li>
<p>
Loaded Modules
</p>
</li>
<li>
<p>
Icons
</p>
</li>
<li>
<p>
File Caching
</p>
</li>
</ul></div>
<div class="paragraph"><p>If set to <tt>connection_details</tt> it will also  provide more detailed
information about the existing connections:</p></div>
<div class="ulist"><ul>
<li>
<p>
ID
</p>
</li>
<li>
<p>
Remote IP
</p>
</li>
<li>
<p>
Phase
</p>
</li>
<li>
<p>
Request
</p>
</li>
<li>
<p>
Handler
</p>
</li>
<li>
<p>
Info sent
</p>
</li>
<li>
<p>
Info received
</p>
</li>
<li>
<p>
Icon
</p>
</li>
</ul></div>
</div>
<div id="footer">
<div id="footer-text">
</div>
</div>
</body>
</html>