Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > f3bfd5fdf65f93a88c150dacdb29b978 > files > 115

apache-mod_python-doc-3.3.1-14.1mdv2010.2.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<link rel="STYLESHEET" href="modpython.css" type='text/css' />
<link rel="first" href="modpython.html" title='Mod_python Manual' />
<link rel='contents' href='contents.html' title="Contents" />
<link rel='index' href='genindex.html' title='Index' />
<link rel='last' href='about.html' title='About this document...' />
<link rel='help' href='about.html' title='About this document...' />
<link rel="prev" href="pyapi-mpsrv-meth.html" />
<link rel="parent" href="pyapi-mpserver.html" />
<link rel="next" href="pyapi-util.html" />
<meta name='aesop' content='information' />
<title>4.5.7.2 Server Members</title>
</head>
<body>
<DIV CLASS="navigation">
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="4.5.7.1 Server Methods"
  href="pyapi-mpsrv-meth.html"><img src='previous.png'
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
<td class='online-navigation'><a rel="parent" title="4.5.7 Server Object (mp_server)"
  href="pyapi-mpserver.html"><img src='up.png'
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
<td class='online-navigation'><a rel="next" title="4.6 util - Miscellaneous"
  href="pyapi-util.html"><img src='next.png'
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
<td align="center" width="100%">Mod_python Manual</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
  href="contents.html"><img src='contents.png'
  border='0' height='32'  alt='Contents' width='32' /></A></td>
<td class='online-navigation'><img src='blank.png'
  border='0' height='32'  alt='' width='32' /></td>
<td class='online-navigation'><a rel="index" title="Index"
  href="genindex.html"><img src='index.png'
  border='0' height='32'  alt='Index' width='32' /></A></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="pyapi-mpsrv-meth.html">4.5.7.1 Server Methods</A>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="pyapi-mpserver.html">4.5.7 Server Object (mp_server)</A>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="pyapi-util.html">4.6 util - Miscellaneous</A>
</div>
<hr /></div>
</DIV>
<!--End of Navigation Panel-->

<H3><A NAME="SECTION006572000000000000000"></A><A NAME="pyapi-mpsrv-mem"></A>
<BR>
4.5.7.2 Server Members
</H3>

<P>
<dl><dt><b><tt id='l2h-184' xml:id='l2h-184' class="member">defn_name</tt></b></dt>
<dd>
  String. The name of the configuration file where the server definition
  was found.
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-185' xml:id='l2h-185' class="member">defn_line_number</tt></b></dt>
<dd>
  Integer. Line number in the config file where the server definition is
  found.
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-186' xml:id='l2h-186' class="member">server_admin</tt></b></dt>
<dd>
  Value of the <code>ServerAdmin</code> directive. 
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-187' xml:id='l2h-187' class="member">server_hostname</tt></b></dt>
<dd>
  Value of the <code>ServerName</code> directive. Same as CGI <a class="envvar" id='l2h-203' xml:id='l2h-203'>SERVER_NAME</a>.<em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-188' xml:id='l2h-188' class="member">names</tt></b></dt>
<dd>
  Tuple. List of normal server names specified in the <code>ServerAlias</code> 
  directive.  This list does not include wildcarded names, which are listed
  separately in <code>wild_names</code>. <em>(Read-Only)</em>
</dl>

<P>
<dl><dt><b><tt id='l2h-189' xml:id='l2h-189' class="member">wild_names</tt></b></dt>
<dd>
  Tuple. List of wildcarded server names specified in the <code>ServerAlias</code>
  directive. <em>(Read-Only)</em>
</dl>

<P>
<dl><dt><b><tt id='l2h-190' xml:id='l2h-190' class="member">port</tt></b></dt>
<dd>
  Integer. TCP/IP port number. Same as CGI <a class="envvar" id='l2h-204' xml:id='l2h-204'>SERVER_PORT</a>.
  <em>This member appears to be 0 on Apache 2.0, look at req.connection.local_addr instead</em>
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-191' xml:id='l2h-191' class="member">error_fname</tt></b></dt>
<dd>
  The name of the error log file for this server, if any.
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-192' xml:id='l2h-192' class="member">loglevel</tt></b></dt>
<dd>
  Integer. Logging level.
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-193' xml:id='l2h-193' class="member">is_virtual</tt></b></dt>
<dd>
  Boolean. True if this is a virtual server.
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-194' xml:id='l2h-194' class="member">timeout</tt></b></dt>
<dd>
  Integer. Value of the <code>Timeout</code> directive.
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-195' xml:id='l2h-195' class="member">keep_alive_timeout</tt></b></dt>
<dd>
  Integer. Keepalive timeout.
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-196' xml:id='l2h-196' class="member">keep_alive_max</tt></b></dt>
<dd>
  Maximum number of requests per keepalive.
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-197' xml:id='l2h-197' class="member">keep_alive</tt></b></dt>
<dd>
  Use persistent connections?
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-198' xml:id='l2h-198' class="member">path</tt></b></dt>
<dd>
  String. Path for <code>ServerPath</code>
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-199' xml:id='l2h-199' class="member">pathlen</tt></b></dt>
<dd>
  Integer. Path length.
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-200' xml:id='l2h-200' class="member">limit_req_line</tt></b></dt>
<dd>
  Integer. Limit on size of the HTTP request line.
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-201' xml:id='l2h-201' class="member">limit_req_fieldsize</tt></b></dt>
<dd>
  Integer. Limit on size of any request header field.
  <em>(Read-Only</em>)
</dl>

<P>
<dl><dt><b><tt id='l2h-202' xml:id='l2h-202' class="member">limit_req_fields</tt></b></dt>
<dd>
  Integer. Limit on number of request header fields.
  <em>(Read-Only</em>)
</dl>

<P>

<DIV CLASS="navigation">
<div class='online-navigation'>
<p></p><hr />
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="4.5.7.1 Server Methods"
  href="pyapi-mpsrv-meth.html"><img src='previous.png'
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
<td class='online-navigation'><a rel="parent" title="4.5.7 Server Object (mp_server)"
  href="pyapi-mpserver.html"><img src='up.png'
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
<td class='online-navigation'><a rel="next" title="4.6 util - Miscellaneous"
  href="pyapi-util.html"><img src='next.png'
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
<td align="center" width="100%">Mod_python Manual</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
  href="contents.html"><img src='contents.png'
  border='0' height='32'  alt='Contents' width='32' /></A></td>
<td class='online-navigation'><img src='blank.png'
  border='0' height='32'  alt='' width='32' /></td>
<td class='online-navigation'><a rel="index" title="Index"
  href="genindex.html"><img src='index.png'
  border='0' height='32'  alt='Index' width='32' /></A></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="pyapi-mpsrv-meth.html">4.5.7.1 Server Methods</A>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="pyapi-mpserver.html">4.5.7 Server Object (mp_server)</A>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="pyapi-util.html">4.6 util - Miscellaneous</A>
</div>
</div>
<hr />
<span class="release-info">Release 3.3.1, documentation updated on January 29, 2007.</span>
</DIV>
<!--End of Navigation Panel-->

</BODY>
</HTML>