home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 September
/
CHIPCD_9_99.iso
/
software
/
serwery_www
/
sambar
/
_setup.1
/
config.stm
< prev
next >
Wrap
Text File
|
1998-04-15
|
18KB
|
444 lines
<HTML>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<TITLE>Server Configuration</TITLE>
</HEAD>
<BODY bgcolor=#ffffff>
<SCRIPT language="JavaScript">
<!--
function Form_Validator(theForm)
{
if (theForm.port.value == "")
{
alert("Please enter a value for the \"Server Port\" field.");
theForm.port.focus();
return (false);
}
if (theForm.maxconns.value == "")
{
alert("Please enter a value for the \"Maximum Connections\" field.");
theForm.maxconns.focus();
return (false);
}
if (theForm.nettimeout.value == "")
{
alert("Please enter a value for the \"Network Read Timeout\" field.");
theForm.nettimeout.focus();
return (false);
}
if (theForm.watcherto.value == "")
{
alert("Please enter a value for the \"Watcher Timeout\" field.");
theForm.maxconns.focus();
return (false);
}
if (theForm.homepage.value == "")
{
alert("Please enter a value for the \"Home Page\" field.");
theForm.homepage.focus();
return (false);
}
}
//-->
</SCRIPT>
<A HREF="/sysadmin/index.stm" TARGET=_top>
<IMG border=0 ALIGN=left SRC="/sysimage/system/console.gif"></A>
<CENTER><FONT SIZE=6>Server Configuration</FONT>
<BR>
<I>Changes don't take effect until system restart.</I>
<HR>
</CENTER>
<FORM METHOD=POST ACTION="/session/sysconfig" TARGET=_top onsubmit="return Form_Validator(this)">
<INPUT TYPE=hidden NAME="RCpage" VALUE="/sysadmin/index.stm">
<TABLE border=0 cellspacing=20>
<TR valign=top><TD width=20%><FONT SIZE=+1>System Administrator</FONT>
<P>
<SELECT NAME=sysadmin>
<RCXselectuser username=RCEsysadmin>
</SELECT>
</TD>
<TD>The System Administrator username is used to access these sysadmin folder
and administrator methods. By default, the administrator username is 'admin'.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>System Administrator IP</FONT>
<P>
<INPUT TYPE=text NAME="sysadminip" VALUE="<RCEsysadminip>" SIZE=40 MAXSIZE=40>
</TD>
<TD>If left blank, the Sambar Server System Administrator may login from
any host. A space-separated list of IP addresses may be provided
(the wild-card character '*' may be used, i.e. 140.172.165.* ) to ensure
that only hosts which you plan to use for administration have access to
your System Administration tools.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Server Port</FONT>
<P>
<INPUT TYPE=text NAME="port" VALUE="<RCEport>" SIZE=12 MAXSIZE=12>
</TD>
<TD>The TCP/IP protocol has a number of ports which are used to differentiate
requests to different processes. The standard HTTP port number is 80. You can
choose any port number from 1 to 65000, however, many port numbers on your
system are reserved for other applications. Should you choose any port other
than port 80, you will have to access you homepage with the port number
appended to the URL (i.e. http://www.sambar.com:1080/ ).
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Automatic Server Restart</FONT>
<P>
<SELECT NAME=restarthr>
<OPTION VALUE=0 <RCif RCErestarthr = 0> SELECTED<RCendif>> Never
<OPTION VALUE=1 <RCif RCErestarthr = 1> SELECTED<RCendif>> 1am
<OPTION VALUE=2 <RCif RCErestarthr = 2> SELECTED<RCendif>> 2am
<OPTION VALUE=3 <RCif RCErestarthr = 3> SELECTED<RCendif>> 3am
<OPTION VALUE=4 <RCif RCErestarthr = 4> SELECTED<RCendif>> 4am
<OPTION VALUE=5 <RCif RCErestarthr = 5> SELECTED<RCendif>> 5am
<OPTION VALUE=6 <RCif RCErestarthr = 6> SELECTED<RCendif>> 6am
<OPTION VALUE=7 <RCif RCErestarthr = 7> SELECTED<RCendif>> 7am
<OPTION VALUE=8 <RCif RCErestarthr = 8> SELECTED<RCendif>> 8am
<OPTION VALUE=9 <RCif RCErestarthr = 9> SELECTED<RCendif>> 9am
<OPTION VALUE=10 <RCif RCErestarthr = 10> SELECTED<RCendif>> 10am
<OPTION VALUE=11 <RCif RCErestarthr = 11> SELECTED<RCendif>> 11am
<OPTION VALUE=12 <RCif RCErestarthr = 12> SELECTED<RCendif>> 12noon
<OPTION VALUE=13 <RCif RCErestarthr = 13> SELECTED<RCendif>> 1pm
<OPTION VALUE=14 <RCif RCErestarthr = 14> SELECTED<RCendif>> 2pm
<OPTION VALUE=15 <RCif RCErestarthr = 15> SELECTED<RCendif>> 3pm
<OPTION VALUE=16 <RCif RCErestarthr = 16> SELECTED<RCendif>> 4pm
<OPTION VALUE=17 <RCif RCErestarthr = 17> SELECTED<RCendif>> 5pm
<OPTION VALUE=18 <RCif RCErestarthr = 18> SELECTED<RCendif>> 6pm
<OPTION VALUE=19 <RCif RCErestarthr = 19> SELECTED<RCendif>> 7pm
<OPTION VALUE=20 <RCif RCErestarthr = 20> SELECTED<RCendif>> 8pm
<OPTION VALUE=21 <RCif RCErestarthr = 21> SELECTED<RCendif>> 9pm
<OPTION VALUE=22 <RCif RCErestarthr = 22> SELECTED<RCendif>> 10pm
<OPTION VALUE=23 <RCif RCErestarthr = 23> SELECTED<RCendif>> 11pm
</SELECT>
</TD>
<TD>The server can automatically restart itself daily. This feature is
recommended for users of the DBMS system to free cached connections
periodically and for very active sites to periodically cleanup the
network connections, memory and thread pools. Note: Server restart
cannot be scheduled for midnight as it could conflict with daily or
weekly scheduled tasks. No other tasks should be scheduled for the
restart hour. <B>Note: This feature is still being debugged.</B>
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Server Security Realm</FONT>
<P>
<INPUT TYPE=text NAME="realm" VALUE="<RCErealm>" SIZE=20 MAXSIZE=20>
</TD>
<TD>The security realm of the server. This applies to all Basic
security.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Maximum Connections</FONT>
<P>
<INPUT TYPE=text NAME="maxconns" VALUE="<RCEmaxconns>" SIZE=12 MAXSIZE=12>
</TD>
<TD>Configure the maximum simultaneous connections supported by the system.
Connections differ from users in that a connection is only maintained
by the HTTP server for the duration of the transaction (HTTP request).
Therefore, while you might wish to support 200 simultaneous users, the
number of simultaneous connections needed to support that number of users
would likely be no more than 20.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Network Read Timeout</FONT>
<P>
<INPUT TYPE=text NAME="nettimeout" VALUE="<RCEnettimeout>" SIZE=12 MAXSIZE=12>
</TD>
<TD>Configure the maximum time, in seconds, to wait for a client connection
before terminating the connection. This period must be at least as
large as the Keep-Alive duration defined for the HTTP protocol. This
duration affects HTTP, proxy and FTP clients.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Resolve Host Names</FONT>
<P>
<INPUT TYPE=radio NAME="resolvedns" VALUE="true" <RCif RCEresolvedns = true> CHECKED<RCendif>>
<B>Yes</B><BR>
<INPUT TYPE=radio NAME="resolvedns" VALUE="false" <RCif RCEresolvedns = false> CHECKED<RCendif>>
<B>No</B><BR>
</TD>
<TD>Configure the server to perform a DNS lookup on every host connection
to resolve the hostname. <I>WARNING: </I>This requires communicating with
a DNS server which can be quite slow if not properly configured. You
should absolutely NOT turn this feature on if your DNS server is on the
other side of a WAN, modem dial-up, or if you expect user heavy traffic.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Automatic Directory Lists</FONT>
<P>
<INPUT TYPE=radio NAME="showdirs" VALUE="true" <RCif RCEshowdirs = true> CHECKED<RCendif>>
<B>Yes</B><BR>
<INPUT TYPE=radio NAME="showdirs" VALUE="false" <RCif RCEshowdirs = false> CHECKED<RCendif>>
<B>No</B><BR>
</TD>
<TD>If no default index page is present, this boolean indicates whether
the server should display the contents of the directory.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Test CGI Exit Status</FONT>
<P>
<INPUT TYPE=radio NAME="testcgi" VALUE="true" <RCif RCEtestcgi = true> CHECKED<RCendif>>
<B>Yes</B><BR>
<INPUT TYPE=radio NAME="testcgi" VALUE="false" <RCif RCEtestcgi = false> CHECKED<RCendif>>
<B>No</B><BR>
</TD>
<TD>If turned on, the server tests the exit status of all CGI programs
and displays to the client the data written to <B>stderr</B> if the
exit status is not zero (0).
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>ISAPI Debug Level</FONT>
<P>
<SELECT NAME=isapidbg>
<OPTION <RCif RCEisapidbg = None> SELECTED<RCendif>> None
<OPTION <RCif RCEisapidbg = Basic> SELECTED<RCendif>> Basic
<OPTION <RCif RCEisapidbg = Call> SELECTED<RCendif>> Call
<OPTION <RCif RCEisapidbg = Full> SELECTED<RCendif>> Full
</SELECT>
</TD>
<TD>The debug level for ISAPI applications.
<P>
<UL>
<LI><B>None</B>: No logging of any kind.
<LI><B>Basic</B>: Log only ISAPI function failures.
<LI><B>Call</B>: Trace all ISAPI function calls.
<LI><B>Full</B>: Detailed trace of each ISAPI call (for developers only).
</UL>
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>CGI/WinCGI tmp Removal</FONT>
<P>
<SELECT NAME="cgitmp">
<OPTION VALUE="noerror" <RCif RCEcgitmp = noerror> SELECTED<RCendif>> Keep on Error
<OPTION VALUE="always" <RCif RCEcgitmp = always> SELECTED<RCendif>> Always Remove
<OPTION VALUE="never" <RCif RCEcgitmp = never> SELECTED<RCendif>> Never Remove
</SELECT>
</TD>
<TD>The execution of CGI/WinCGI files results in temporary files that
are often useful in debugging script execution.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Automatic Log Rotation</FONT>
<P>
<INPUT TYPE=radio NAME="autolog" VALUE="true" <RCif RCEautolog = true> CHECKED<RCendif>>
<B>Yes</B><BR>
<INPUT TYPE=radio NAME="autolog" VALUE="false" <RCif RCEautolog = false> CHECKED<RCendif>>
<B>No</B><BR>
</TD>
<TD>If turned on, the server log files will be automatically rotated
<I><B>daily</I></B> shortly after midnight and a log report will be
automatically run. The log reports are available through the system
administration <I>Report</I> interface.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Home Page</FONT>
<P>
<INPUT TYPE=text NAME="homepage" VALUE="<RCEhomepage>" SIZE=30 MAXSIZE=30>
</TD>
<TD>The HTTP document served when users request the home page (/) from the server.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Default Page</FONT>
<P>
<INPUT TYPE=text NAME="defpage" VALUE="<RCEdefpage>" SIZE=30 MAXSIZE=40>
</TD>
<TD>The HTTP page served when users request a page from a directory without
specifying a path to a URL. This can be a space separated list of file
names (i.e. index.htm index.html index.shtml).
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Documents Directory</FONT>
<P>
<INPUT TYPE=text NAME="docsdir" VALUE="<RCEdocsdir>" SIZE=30 MAXSIZE=60>
</TD>
<TD>The directory in which documents are served out of. If not preceded by
a drive letter (i.e. d:\wwwdir), this directory is assumed to be relative to
the installation directory of the Sambar Server.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>CGI Directory</FONT>
<P>
<INPUT TYPE=text NAME="cgidir" VALUE="<RCEcgidir>" SIZE=30 MAXSIZE=60>
</TD>
<TD>The directory in which cgi-bin scripts are served out of. The
CGI directory must be found in the installation directory of the
Sambar Server. The Sambar Server CGI plug-in module can be used to
execute CGI applications outside the CGI directory.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>WinCGI Directory</FONT>
<P>
<INPUT TYPE=text NAME="wincgidir" VALUE="<RCEwincgidir>" SIZE=30 MAXSIZE=60>
</TD>
<TD>The directory in which Windows CGI scripts are served out of. The
WinCGI directory must be found in the installation directory of the
Sambar Server. The Sambar Server WinCGI plug-in module can be used to
execute WinCGI applications outside the WinCGI directory.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>ISAPI Extensions</FONT>
<P>
<INPUT TYPE=text NAME="isapiext" VALUE="<RCEisapiext>" SIZE=40 MAXSIZE=40>
</TD>
<TD>This should be a space separated list of ISAPI extensions that, if found
in the Documents Directory should be recognized as a DLL with
ISAPI extensions executed (i.e. *.dll).
If left blank, ISAPI extension cannot be run in the Doucments
Directory (with the exception of any direct execute ISAPI DLLs found
in the <B>[isapi]</B> section).
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>CGI Extensions</FONT>
<P>
<INPUT TYPE=text NAME="cgiext" VALUE="<RCEcgiext>" SIZE=40 MAXSIZE=40>
</TD>
<TD>This should be a space separated list of CGI extensions that, if found
in the Documents Directory should be recognized as CGI scripts and
executed (i.e. *.cgi *.exe *.pl).
If left blank, only scripts found in the <I>CGI Directory</I> are
treated as CGI scripts.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>WinCGI Extensions</FONT>
<P>
<INPUT TYPE=text NAME="wincgiext" VALUE="<RCEwincgiext>" SIZE=40 MAXSIZE=40>
</TD>
<TD>This should be a space separated list of WinCGI extensions that, if found
in the Documents Directory should be recognized as CGI scripts and
executed (i.e. *.cgi *.exe).
If left blank, only scripts found in the <I>WinCGI Directory</I> are
treated as WinCGI scripts.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>HTTP PUT Users</FONT>
<P>
<INPUT TYPE=text NAME="putusers" VALUE="<RCEputusers>" SIZE=30 MAXSIZE=60>
</TD>
<TD>A space separated list of server users that have permission to use
the HTTP PUT method. Directory access can be further restricted with the
security interfaces.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Server Side Includes</FONT>
<P>
<INPUT TYPE=text NAME="ssi" VALUE="<RCEssi>" SIZE=30 MAXSIZE=30>
</TD>
<TD>A space separated list of HTML file extensions that correspond with
files containing server side includes (i.e. shtml sht). As parsing
server-side include files is expensive, it is recommended that the
extensions be limited to <I>shtml</I>.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Log Format</FONT>
<P>
<SELECT NAME="logformat">
<OPTION VALUE="performance" <RCif RCElogformat = performance> SELECTED<RCendif>> Sambar Server Format
<OPTION VALUE="combined" <RCif RCElogformat = combined> SELECTED<RCendif>> NCSA Combined Log Format
<OPTION VALUE="common" <RCif RCElogformat = common> SELECTED<RCendif>> NCSA Common Log Format
</SELECT>
</TD>
<TD>The log format options are:
<UL>
<LI>performance - Sambar Server performance format
<LI>combined - NCSA combined log format
<LI>common - NCSA Common Log Format
</UL>
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Don't Log IPs</FONT>
<P>
<INPUT TYPE=text NAME="noip" VALUE="<RCEnoip>" SIZE=30 MAXSIZE=30>
</TD>
<TD>A space separated list of IP addresses not to log requests from.
This list may use wild-cards to match against (i.e. <B>127.0.0.1 140.172*</B> ).
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Don't Log Requests</FONT>
<P>
<INPUT TYPE=text NAME="noreq" VALUE="<RCEnoreq>" SIZE=30 MAXSIZE=30>
</TD>
<TD>A space separated list of requests not to log.
This list may use wild-cards to match against (i.e. <B>*.jpg *.gif /foo*</B> ).
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Log Buffer Size</FONT>
<P>
<INPUT TYPE=text NAME="logsize" VALUE="<RCElogsize>" SIZE=12 MAXSIZE=12>
</TD>
<TD>Configure the maximum number of lines permitted in the server log
file (server.log). Once this number is reached for a server session,
the log is reset to the first line (it operates much like a circular buffer).
For an infinite log size, set the log size value to 0.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Enable DBMS Usage</FONT>
<P>
<INPUT TYPE=radio NAME="usedbms" VALUE="true" <RCif RCEusedbms = true> CHECKED<RCendif>>
<B>Yes</B><BR>
<INPUT TYPE=radio NAME="usedbms" VALUE="false" <RCif RCEusedbms = false> CHECKED<RCendif>>
<B>No</B><BR>
</TD>
<TD>Enable the DBMS interface of the Sambar Server. The DBMS interface
must be initialized to use the DBMS scripting. Once configured, the
DBMS management interfaces become available in the System Administration
console. (Note: You must have ODBC installed to enable this option.)
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Act as FTP Server</FONT>
<P>
<INPUT TYPE=radio NAME="ftpserver" VALUE="true" <RCif RCEftpserver = true> CHECKED<RCendif>>
<B>Yes</B><BR>
<INPUT TYPE=radio NAME="ftpserver" VALUE="false" <RCif RCEftpserver = false> CHECKED<RCendif>>
<B>No</B><BR>
</TD>
<TD>Start the FTP Server when the Sambar Server is started (in addition
to the HTTP server). <I>WARNING: </I>If your machine is already running an
FTP Server, the Sambar Server will fail to start if the ports of the two
servers conflict.</I>
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Run Watcher</FONT>
<P>
<INPUT TYPE=radio NAME="watcher" VALUE="true" <RCif RCEwatcher = true> CHECKED<RCendif>>
<B>Yes</B><BR>
<INPUT TYPE=radio NAME="watcher" VALUE="false" <RCif RCEwatcher = false> CHECKED<RCendif>>
<B>No</B><BR>
</TD>
<TD>Start a Watcher Daemon when the server is started to monitor the
WWW server and restart it in the event of a failure. This feature should
NOT be used when the Sambar Server is run as an NT Service.
</TD></TR>
<TR valign=top><TD width=20%><FONT SIZE=+1>Watcher Timeout</FONT>
<P>
<INPUT TYPE=text NAME="watcherto" VALUE="<RCEwatcherto>" SIZE=12 MAXSIZE=12>
</TD>
<TD>Configure the delay in seconds between each wwwping of the server
by the watcher daemon. This time should exceed 60 seconds (300 is the default).
After two consecutive failures, the server will automatically be terminated
and restarted.
</TD></TR>
</TABLE>
<P>
<CENTER>
<HR>
<INPUT TYPE=submit VALUE="Update Server Configuration">
</FORM>
<P>
<HR>
</CENTER>
<BR>
<A HREF="/"><IMG border=0 SRC="/sysimage/system/powerby.gif"></A>
</BODY>
</HTML>