home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
WinFiles.com 1998 June
/
WF0698_3.ISO
/
servers-websrv
/
websuite.exe
/
SRVCONFG.AP_
/
SRVCONFG.AP
Wrap
Text File
|
1998-04-01
|
5KB
|
110 lines
<[
// Personal Web Server - Configuration Update
// (c) 1997-98 SmartDesk, Inc., All Rights Reserved
_apGenerate( )
websrvr = 0 + param( 1 )
sessionId = 0 + param( 2 )
session = new( "session", websrvr, sessionId )
if ( ! session.secure( "Server.Modify" ) )
return( 0 )
end
file = webServerConfigFile( websrvr )
ini = new( "inifile", file )
if ( type( ini ) != "O" )
session.error( "Unable to locate the " + file + "data file.", "FFFFFF", "000000" )
return( 0 )
end
]>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!-- SmartDesk Active Page, www.smartdesk.com -->
<HTML>
<HEAD>
<TITLE>Personal Web Server - Configuration Update</TITLE>
</HEAD>
<BODY BGCOLOR="#000000" TEXT="#FFFFFF" LINK="#00FFFF" VLINK="#00FFFF" ALINK="#00FFFF">
<TABLE BORDER=0 WIDTH=600>
<TR>
<TD VALIGN="top" WIDTH=159>
<CENTER>
<FONT COLOR="#FFFF00"><B>Server Configuration</B></FONT><BR>
<A HREF="/index.htm"><IMG SRC="/image/ws.jpg" BORDER=0 WIDTH=159 HEIGHT=300></A><BR>
<FONT COLOR="#FFFFFF" SIZE=1>
<P><FONT COLOR="#00FFFF">©Copyright 1997-98</FONT><BR>by SmartDesk, Inc.<BR>All Rights Reserved</P>
</FONT>
</CENTER>
</TD>
<TD WIDTH=30>
<FONT SIZE=5 COLOR="#000000">.</FONT>
</TD>
<TD WIDTH=410 VALIGN="top">
<CENTER>
<P><BR></P>
<FORM ACTION="srvconf2.htm" METHOD="GET">
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=410>
<TR><TD WIDTH=20></TD><TD WIDTH=130><B><FONT COLOR="#00BBBB">Product: </B></FONT></TD><TD WIDTH=260><B><FONT COLOR="#00FFFF"><[ ! strextract( session.data( "SERVER_SOFTWARE" ), "/", 1 ) ]></B></FONT></TD></TR>
<TR><TD WIDTH=20></TD><TD WIDTH=130><B><FONT COLOR="#00BBBB">Version: </B></FONT></TD><TD WIDTH=260><B><FONT COLOR="#00FFFF"><[ ! strextract( session.data( "SERVER_SOFTWARE" ), "/", 2 ) ]></B></FONT></TD></TR>
<TR><TD WIDTH=20></TD><TD WIDTH=130><FONT COLOR="#000000">.</FONT></TD></TR>
<TR><TD WIDTH=20></TD><TD WIDTH=130><B>Name: </B></TD><TD WIDTH=260><INPUT NAME="name" TYPE= "text" VALUE="<[ ! ini.GetString( "Config", "Name", "" ) ]>" SIZE=35></TD></TR>
<TR><TD WIDTH=20></TD><TD WIDTH=130><B>Port: </B></TD><TD WIDTH=260><INPUT NAME="port" TYPE= "text" VALUE="<[ ! ini.GetString( "Config", "Port", "" ) ]>" SIZE=35></TD></TR>
<TR><TD WIDTH=20></TD><TD WIDTH=130><B>Queue Size:</B></TD><TD WIDTH=260><INPUT NAME="queue_size" TYPE= "text" VALUE="<[ ! ini.GetString( "Config", "Queue_size", "" ) ]>" SIZE=35></TD></TR>
<TR><TD WIDTH=20></TD><TD WIDTH=130><B>Read Size: </B></TD><TD WIDTH=260><INPUT NAME="read_size" TYPE= "text" VALUE="<[ ! ini.GetString( "Config", "Read_size", "" ) ]>" SIZE=35></TD></TR>
<TR><TD WIDTH=20></TD><TD WIDTH=130><B>Write Size: </B></TD><TD WIDTH=260><INPUT NAME="write_size" TYPE= "text" VALUE="<[ ! ini.GetString( "Config", "Write_size", "" ) ]>" SIZE=35></TD></TR>
<TR><TD WIDTH=20></TD><TD WIDTH=130><B>Options:</B></TD><TD WIDTH=260><INPUT NAME="options" TYPE= "text" VALUE="<[ ! ini.GetString( "Config", "Options", "" ) ]>" SIZE=35></TD></TR>
<TR><TD WIDTH=20></TD><TD WIDTH=130><FONT COLOR="#000000">.</FONT></TD></TR>
<TR><TD WIDTH=20></TD><TD WIDTH=130><B>Home: </B></TD><TD WIDTH=260><FONT COLOR="#00FFFF"><B><[ ! ini.GetString( "Config", "Home", "" ) ]></B></FONT></TD></TR>
<TR><TD WIDTH=20></TD><TD WIDTH=130 VALIGN=top><B>Default File: </B></TD><TD WIDTH=260><FONT COLOR="#00FFFF"><B><[ ! ini.GetString( "Config", "defFile", "" ) ]></B></FONT>
<P>
<INPUT NAME="apcache" TYPE= "checkbox" <[ ! ( apCache( -1 ) == 1 ? "CHECKED" : "" ) ]>> Enable Active Page Caching<br>
<INPUT NAME="TransServer" TYPE= "checkbox" <[ ! ( webTransServer( ) ? "CHECKED" : "" ) ]>> Enable High-performance Server<br>
<INPUT NAME="GlobalMonitor" TYPE= "checkbox" <[ ! ( webGlobalMonitor( ) ? "CHECKED" : "" ) ]>> Enable Global Monitoring
</P>
</TD></TR>
</TABLE>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=300>
<TR>
<TD align=center>
<INPUT TYPE="Submit" VALUE="Click Here to Save the Changes">
</TD>
</TR>
</TABLE>
</FORM>
</CENTER>
<CENTER>
<FONT SIZE=2>
<A HREF="server.htm">Details</A> |
<A HREF="srvstats.htm">Statistics</A> |
<A HREF="vnsconfg.htm">VNS Configuration</A> |
<A HREF="loglist.htm">Server Log</A> |
<A HREF="/index.htm">Home</A>
</FONT><BR>
</CENTER>
</TD>
</TR>
</TABLE>
<br><br><br><br>
</BODY>
</HTML>