1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>4.3.4.2 Server Members</title>
<META NAME="description" CONTENT="4.3.4.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-debug.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.gif"
border="0" height="32"
alt="Previous Page" width="32"></A></td>
<td><A href="pyapi-mpserver.html"><img src="icons/up.gif"
border="0" height="32"
alt="Up One Level" width="32"></A></td>
<td><A href="pyapi-debug.html"><img src="icons/next.gif"
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.gif"
border="0" height="32"
alt="Contents" width="32"></A></td>
<td><img src="icons/blank.gif"
border="0" height="32"
alt="" width="32"></td>
<td><A href="genindex.html"><img src="icons/index.gif"
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.3.4.1 Server Methods</A>
<b class="navlabel">Up:</b> <a class="sectref" href="pyapi-mpserver.html">4.3.4 Server Object (mp_server) </A>
<b class="navlabel">Next:</b> <a class="sectref" href="pyapi-debug.html">4.3.5 Debugging</A>
<br><hr>
</DIV>
<!--End of Navigation Panel-->
<H3><A NAME="SECTION006342000000000000000"> </A>
<BR>
4.3.4.2 Server Members
</H3>
<P>
<dl><dt><b><a name="l2h-100"><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-101"><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-102"><tt class="member">srm_confname</tt></a></b>
<dd>
Location of the srm config file.
<i>(Read-Only</i>)
</dl>
<P>
<dl><dt><b><a name="l2h-103"><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-104"><tt class="member">server_hostname</tt></a></b>
<dd>
Value of the <code>ServerName</code> directive. Same as CGI <a class="envvar" name="l2h-117">SERVER_NAME</a>.
<i>(Read-Only</i>)
</dl>
<P>
<dl><dt><b><a name="l2h-105"><tt class="member">port</tt></a></b>
<dd>
Integer. TCP/IP port number. Same as CGI <a class="envvar" name="l2h-118">SERVER_PORT</a>.
<i>(Read-Only</i>)
</dl>
<P>
<dl><dt><b><a name="l2h-106"><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-107"><tt class="member">loglevel</tt></a></b>
<dd>
Integer. Logging level.
<i>(Read-Only</i>)
</dl>
<P>
<dl><dt><b><a name="l2h-108"><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-109"><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-110"><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-111"><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-112"><tt class="member">send_buffer_size</tt></a></b>
<dd>
Integer. Size of the TCP send buffer.
<i>(Read-Only</i>)
</dl>
<P>
<dl><dt><b><a name="l2h-113"><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-114"><tt class="member">pathlen</tt></a></b>
<dd>
Integer. Path length.
<i>(Read-Only</i>)
</dl>
<P>
<dl><dt><b><a name="l2h-115"><tt class="member">server_uid</tt></a></b>
<dd>
UID under which the server is running.
<i>(Read-Only</i>)
</dl>
<P>
<dl><dt><b><a name="l2h-116"><tt class="member">server_gid</tt></a></b>
<dd>
GID under which the server is running.
<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.gif"
border="0" height="32"
alt="Previous Page" width="32"></A></td>
<td><A href="pyapi-mpserver.html"><img src="icons/up.gif"
border="0" height="32"
alt="Up One Level" width="32"></A></td>
<td><A href="pyapi-debug.html"><img src="icons/next.gif"
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.gif"
border="0" height="32"
alt="Contents" width="32"></A></td>
<td><img src="icons/blank.gif"
border="0" height="32"
alt="" width="32"></td>
<td><A href="genindex.html"><img src="icons/index.gif"
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.3.4.1 Server Methods</A>
<b class="navlabel">Up:</b> <a class="sectref" href="pyapi-mpserver.html">4.3.4 Server Object (mp_server) </A>
<b class="navlabel">Next:</b> <a class="sectref" href="pyapi-debug.html">4.3.5 Debugging</A>
<hr>
<span class="release-info">Release 2.7.10, documentation updated on December 07, 2003.</span>
</DIV>
<!--End of Navigation Panel-->
</BODY>
</HTML>
|