home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / WEBSERVE / SAMBAR / DATA.1 / config.stm < prev    next >
Text File  |  1997-09-16  |  7KB  |  204 lines

  1. <HTML>
  2. <HEAD>
  3. <TITLE>Server Configuration</TITLE>
  4. </HEAD>
  5. <BODY bgcolor=#ffffff>
  6. <SCRIPT language="JavaScript">
  7. <!--
  8. function Form_Validator(theForm)
  9. {
  10.     if (theForm.port.value == "")
  11.     {
  12.         alert("Please enter a value for the \"Server Port\" field.");
  13.         theForm.port.focus();
  14.         return (false);
  15.     }
  16.  
  17.     if (theForm.maxconns.value == "")
  18.     {
  19.         alert("Please enter a value for the \"Maximum Connections\" field.");
  20.         theForm.maxconns.focus();
  21.         return (false);
  22.     }
  23.  
  24.     if (theForm.watcherto.value == "")
  25.     {
  26.         alert("Please enter a value for the \"Watcher Timeout\" field.");
  27.         theForm.maxconns.focus();
  28.         return (false);
  29.     }
  30.  
  31.     if (theForm.homepage.value == "")
  32.     {
  33.         alert("Please enter a value for the \"Home Page\" field.");
  34.         theForm.homepage.focus();
  35.         return (false);
  36.     }
  37. }
  38. //-->
  39. </SCRIPT>
  40.  
  41. <A HREF="/sysadmin/index.stm" TARGET=_top>
  42. <IMG border=0 ALIGN=left SRC="/images/system/console.gif"></A>
  43. <CENTER><FONT SIZE=6>Server Configuration</FONT>
  44. <BR>
  45. <I>Changes don't take effect until system restart.</I>
  46. <HR>
  47. </CENTER>
  48. <FORM METHOD=POST ACTION="/session/sysconfig" TARGET=_top onsubmit="return Form_Validator(this)">
  49. <INPUT TYPE=hidden NAME="RCpage" VALUE="/sysadmin/index.stm">
  50.  
  51. <TABLE border=0 cellspacing=20>
  52.  
  53. <TR valign=top><TD width=20%><FONT SIZE=+1>System Administrator</FONT>
  54. <P>
  55. <SELECT NAME=sysadmin>
  56. <RCXselectuser username=RCEsysadmin>
  57. </SELECT>
  58. </TD>
  59. <TD>The System Administrator username is used to access these sysadmin folder
  60. and administrator methods.  By default, the administrator username is 'admin'.
  61. </TD></TR>
  62.  
  63. <TR valign=top><TD width=20%><FONT SIZE=+1>Server Port</FONT>
  64. <P>
  65. <INPUT TYPE=text NAME="port" VALUE="<RCEport>" SIZE=12 MAXSIZE=12>
  66. </TD>
  67. <TD>The TCP/IP protocol has a number of ports which are used to differentiate
  68. requests to different processes. The standard HTTP port number is 80.  You can
  69. choose any port number from 1 to 65000, however, many port numbers on your
  70. system are reserved for other applications.  Should you choose any port other 
  71. than port 80, you will have to access you homepage with the port number 
  72. appended to the URL (i.e. http://www.sambar.com:1080/ ).
  73. </TD></TR>
  74.  
  75. <TR valign=top><TD width=20%><FONT SIZE=+1>Maximum Connections</FONT>
  76. <P>
  77. <INPUT TYPE=text NAME="maxconns" VALUE="<RCEmaxconns>" SIZE=12 MAXSIZE=12>
  78. </TD>
  79. <TD>Configure the maximum simultaneous connections supported by the system.
  80. Connections differ from users in that a connection is only maintained
  81. by the HTTP server for the duration of the transaction (HTTP request).
  82. Therefore, while you might wish to support 200 simultaneous users, the
  83. number of simultaneous connections needed to support that number of users 
  84. would likely be no more than 20.
  85. </TD></TR>
  86.  
  87. <TR valign=top><TD width=20%><FONT SIZE=+1>Resolve Host Names</FONT>
  88. <P>
  89. <INPUT TYPE=radio NAME="resolvedns" VALUE="true" <RCif RCEresolvedns = true> CHECKED<RCendif>>
  90. <B>Yes</B><BR>
  91. <INPUT TYPE=radio NAME="resolvedns" VALUE="false" <RCif RCEresolvedns = false> CHECKED<RCendif>>
  92. <B>No</B><BR>
  93. </TD>
  94. <TD>Configure the server to perform a DNS lookup on every host connection
  95. to resolve the hostname.  <I>WARNING: </I>This requires communicating with
  96. a DNS server which can be quite slow if not properly configured.  You
  97. should absolutely NOT turn this feature on if your DNS server is on the
  98. other side of a WAN, modem dial-up, or if you expect user heavy traffic.
  99. </TD></TR>
  100.  
  101. <TR valign=top><TD width=20%><FONT SIZE=+1>Home Page</FONT>
  102. <P>
  103. <INPUT TYPE=text NAME="homepage" VALUE="<RCEhomepage>" SIZE=30 MAXSIZE=30>
  104. </TD>
  105. <TD>The HTTP page served when users request the home page (/) from the server.
  106. </TD></TR>
  107.  
  108. <TR valign=top><TD width=20%><FONT SIZE=+1>Default Page</FONT>
  109. <P>
  110. <INPUT TYPE=text NAME="defpage" VALUE="<RCEdefpage>" SIZE=30 MAXSIZE=30>
  111. </TD>
  112. <TD>The HTTP page served when users request a page from a directory without
  113. specifying a path to a URL.
  114. </TD></TR>
  115.  
  116. <TR valign=top><TD width=20%><FONT SIZE=+1>Documents Directory</FONT>
  117. <P>
  118. <INPUT TYPE=text NAME="docsdir" VALUE="<RCEdocsdir>" SIZE=30 MAXSIZE=60>
  119. </TD>
  120. <TD>The directory in which documents are served out of.  If not preceded by
  121. a drive letter (i.e. d:\wwwdir), this directory is assumed to be relative to
  122. the installation directory of the Sambar Server.
  123. </TD></TR>
  124.  
  125. <TR valign=top><TD width=20%><FONT SIZE=+1>HTTP PUT Users</FONT>
  126. <P>
  127. <INPUT TYPE=text NAME="putusers" VALUE="<RCEputusers>" SIZE=30 MAXSIZE=60>
  128. </TD>
  129. <TD>A space separated list of server users that have permission to use
  130. the HTTP PUT method.  Directory access can be further restricted with the
  131. security interfaces.
  132. </TD></TR>
  133.  
  134. <TR valign=top><TD width=20%><FONT SIZE=+1>Server Side Includes</FONT>
  135. <P>
  136. <INPUT TYPE=text NAME="ssi" VALUE="<RCEssi>" SIZE=30 MAXSIZE=30>
  137. </TD>
  138. <TD>A space separated list of HTML file extensions that correspond with 
  139. files containing server side includes.  As parsing server-side include files
  140. is expensive, it is recommended that the extensions be limited to <I>shtml</I>.
  141. </TD></TR>
  142.  
  143. <TR valign=top><TD width=20%><FONT SIZE=+1>Log Format</FONT>
  144. <P>
  145. <SELECT NAME="logformat">
  146. <OPTION VALUE="performance" <RCif RCElogformat = performance> SELECTED<RCendif>> Sambar Server Format
  147. <OPTION VALUE="combined" <RCif RCElogformat = combined> SELECTED<RCendif>> NCSA Combined Log Format
  148. <OPTION VALUE="common" <RCif RCElogformat = common> SELECTED<RCendif>> NCSA Common Log Format
  149. </SELECT>
  150. </TD>
  151. <TD>The log format options are:
  152. <UL>
  153. <LI>performance - Sambar Server performance format
  154. <LI>combined - NCSA combined log format
  155. <LI>common - NCSA Common Log Format
  156. </UL>
  157. </TD></TR>
  158.  
  159. <TR valign=top><TD width=20%><FONT SIZE=+1>Log Buffer Size</FONT>
  160. <P>
  161. <INPUT TYPE=text NAME="logsize" VALUE="<RCElogsize>" SIZE=12 MAXSIZE=12>
  162. </TD>
  163. <TD>Configure the maximum number of lines permitted in the server log 
  164. file (server.log).  Once this number is reached for a server session,
  165. the log is reset to the first line (it operates much like a circular buffer).
  166. For an infinite log size, set the log size value to 0.
  167. </TD></TR>
  168.  
  169. <TR valign=top><TD width=20%><FONT SIZE=+1>Run Watcher</FONT>
  170. <P>
  171. <INPUT TYPE=radio NAME="watcher" VALUE="true" <RCif RCEwatcher = true> CHECKED<RCendif>>
  172. <B>Yes</B><BR>
  173. <INPUT TYPE=radio NAME="watcher" VALUE="false" <RCif RCEwatcher = false> CHECKED<RCendif>>
  174. <B>No</B><BR>
  175. </TD>
  176. <TD>Start a Watcher Daemon when the server is started to monitor the
  177. WWW server and restart it in the event of a failure.  This feature should
  178. NOT be used when the Sambar Server is run as an NT Service.
  179. </TD></TR>
  180.  
  181. <TR valign=top><TD width=20%><FONT SIZE=+1>Watcher Timeout</FONT>
  182. <P>
  183. <INPUT TYPE=text NAME="watcherto" VALUE="<RCEwatcherto>" SIZE=12 MAXSIZE=12>
  184. </TD>
  185. <TD>Configure the delay in seconds between each wwwping of the server
  186. by the watcher daemon.  This time should exceed 60 seconds (300 is the default).
  187. After two consecutive failures, the server will automatically be terminated
  188. and restarted.
  189. </TD></TR>
  190.  
  191. </TABLE>
  192. <P>
  193. <CENTER>
  194. <HR>
  195. <INPUT TYPE=submit VALUE="Update Server Configuration">
  196. </FORM>
  197. <P>
  198. <HR>
  199. </CENTER>
  200. <BR>
  201. <A HREF="/"><IMG border=0 SRC="/images/system/powerby.gif"></A>
  202. </BODY>
  203. </HTML>
  204.