<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>4.5.6.2 Server Members</title> <META NAME="description" CONTENT="4.5.6.2 Server Members"> <META NAME="keywords" CONTENT="modpython"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <link rel="STYLESHEET" href="modpython.css"> <link rel="first" href="modpython.html"> <link rel="contents" href="contents.html" title="Contents"> <link rel="index" href="genindex.html" title="Index"> <LINK REL="previous" href="pyapi-mpsrv-meth.html"> <LINK REL="up" href="pyapi-mpserver.html"> <LINK REL="next" href="pyapi-util.html"> </head> <body> <DIV CLASS="navigation"> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td><A href="pyapi-mpsrv-meth.html"><img src="icons/previous.png" border="0" height="32" alt="Previous Page" width="32"></A></td> <td><A href="pyapi-mpserver.html"><img src="icons/up.png" border="0" height="32" alt="Up One Level" width="32"></A></td> <td><A href="pyapi-util.html"><img src="icons/next.png" border="0" height="32" alt="Next Page" width="32"></A></td> <td align="center" width="100%">Mod_python Manual</td> <td><A href="contents.html"><img src="icons/contents.png" border="0" height="32" alt="Contents" width="32"></A></td> <td><img src="icons/blank.png" border="0" height="32" alt="" width="32"></td> <td><A href="genindex.html"><img src="icons/index.png" border="0" height="32" alt="Index" width="32"></A></td> </tr></table> <b class="navlabel">Previous:</b> <a class="sectref" href="pyapi-mpsrv-meth.html">4.5.6.1 Server Methods</A> <b class="navlabel">Up:</b> <a class="sectref" href="pyapi-mpserver.html">4.5.6 Server Object (mp_server) </A> <b class="navlabel">Next:</b> <a class="sectref" href="pyapi-util.html">4.6 util - Miscellaneous</A> <br><hr> </DIV> <!--End of Navigation Panel--> <H3><A NAME="SECTION006562000000000000000"> </A> <BR> 4.5.6.2 Server Members </H3> <P> <dl><dt><b><a name="l2h-147"><tt class="member">defn_name</tt></a></b> <dd> String. The name of the configuration file where the server definition was found. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-148"><tt class="member">defn_line_number</tt></a></b> <dd> Integer. Line number in the config file where the server definition is found. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-149"><tt class="member">server_admin</tt></a></b> <dd> Value of the <code>ServerAdmin</code> directive. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-150"><tt class="member">server_hostname</tt></a></b> <dd> Value of the <code>ServerName</code> directive. Same as CGI <a class="envvar" name="l2h-164">SERVER_NAME</a>.<i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-151"><tt class="member">port</tt></a></b> <dd> Integer. TCP/IP port number. Same as CGI <a class="envvar" name="l2h-165">SERVER_PORT</a>. <i>This member appears to be 0 on Apache 2.0, look at req.connection.local_addr instead</i> <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-152"><tt class="member">error_fname</tt></a></b> <dd> The name of the error log file for this server, if any. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-153"><tt class="member">loglevel</tt></a></b> <dd> Integer. Logging level. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-154"><tt class="member">is_virtual</tt></a></b> <dd> Boolean. True if this is a virtual server. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-155"><tt class="member">timeout</tt></a></b> <dd> Integer. Value of the <code>Timeout</code> directive. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-156"><tt class="member">keep_alive_timeout</tt></a></b> <dd> Integer. Keepalive timeout. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-157"><tt class="member">keep_alive_max</tt></a></b> <dd> Maximum number of requests per keepalive. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-158"><tt class="member">keep_alive</tt></a></b> <dd> Use persistent connections? <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-159"><tt class="member">path</tt></a></b> <dd> String. Path for <code>ServerPath</code> <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-160"><tt class="member">pathlen</tt></a></b> <dd> Integer. Path length. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-161"><tt class="member">limit_req_line</tt></a></b> <dd> Integer. Limit on size of the HTTP request line. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-162"><tt class="member">limit_req_fieldsize</tt></a></b> <dd> Integer. Limit on size of any request header field. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-163"><tt class="member">limit_req_fields</tt></a></b> <dd> Integer. Limit on number of request header fields. <i>(Read-Only</i>) </dl> <P> <DIV CLASS="navigation"> <p><hr> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td><A href="pyapi-mpsrv-meth.html"><img src="icons/previous.png" border="0" height="32" alt="Previous Page" width="32"></A></td> <td><A href="pyapi-mpserver.html"><img src="icons/up.png" border="0" height="32" alt="Up One Level" width="32"></A></td> <td><A href="pyapi-util.html"><img src="icons/next.png" border="0" height="32" alt="Next Page" width="32"></A></td> <td align="center" width="100%">Mod_python Manual</td> <td><A href="contents.html"><img src="icons/contents.png" border="0" height="32" alt="Contents" width="32"></A></td> <td><img src="icons/blank.png" border="0" height="32" alt="" width="32"></td> <td><A href="genindex.html"><img src="icons/index.png" border="0" height="32" alt="Index" width="32"></A></td> </tr></table> <b class="navlabel">Previous:</b> <a class="sectref" href="pyapi-mpsrv-meth.html">4.5.6.1 Server Methods</A> <b class="navlabel">Up:</b> <a class="sectref" href="pyapi-mpserver.html">4.5.6 Server Object (mp_server) </A> <b class="navlabel">Next:</b> <a class="sectref" href="pyapi-util.html">4.6 util - Miscellaneous</A> <hr> <span class="release-info">Release 3.1.0a, documentation updated on August 26, 2003.</span> </DIV> <!--End of Navigation Panel--> </BODY> </HTML>