home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
WinFiles.com 1998 June
/
WF0698_3.ISO
/
servers-websrv
/
websuite.exe
/
SERVER.AP_
/
SERVER.AP
Wrap
Text File
|
1998-04-01
|
4KB
|
155 lines
<[
// Personal Web Server - Server Information
// (c) 1997-98 SmartDesk, Inc., All Rights Reserved
websrvr = 0 + param( 1 )
sessionId = 0 + param( 2 )
session = new( "session", websrvr, sessionId )
stats = webServerStats( websrvr )
]>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!5thGEN Active Pages, by www.smartdesk.com>
<HTML>
<TITLE>Personal Web Server Details</TITLE>
<BODY BGCOLOR="#000000" LINK="#FFFFFF" VLINK="#FFFFFF" TEXT="#FFFFFF">
<TABLE BORDER=0 WIDTH=600>
<TR>
<TD VALIGN="top" WIDTH=120>
<CENTER>
<A HREF="/index.htm"><IMG SRC="/image/earth.gif" WIDTH=80 HEIGHT=80 BORDER=0></A><BR>
<FONT COLOR="#FFFFFF" SIZE=1><FONT COLOR="#00FFFF">©Copyright 1997-98</FONT><BR>by SmartDesk, Inc.<BR>All Rights Reserved<BR></FONT>
</CENTER>
</TD>
<TD WIDTH=10>
</TD>
<TD WIDTH=465>
<CENTER>
<P><FONT SIZE=5 COLOR="00FFFF"><B><[ ! session.data( "SERVER_SOFTWARE" ) ]></B></FONT><BR>
<FONT SIZE=2>
<A HREF="srvstats.htm">Statistics</A> |
<A HREF="srvconfg.htm">Configuration</A> |
<A HREF="loglist.htm">Server Log</A> |
<A HREF="/index.htm">Home</A></P>
</FONT>
</P></CENTER>
<P><BR></P>
<P><FONT SIZE=4 COLOR="00FFFF"><B>Server Details</B></FONT><BR></P>
<TABLE BORDER=3 WIDTH=460>
<TR VALIGN="top" ALIGN="left">
<TD>Server Name</TD>
<TD><[ ! session.data( "SERVER_NAME" ) ]> </TD>
</TR>
<TR>
<TD>Server Protocol</TD>
<TD><[ ! session.data( "SERVER_PROTOCOL" ) ]> </TD>
</TR>
<TR>
<TD>Server Port</TD>
<TD><[ ! session.data( "SERVER_PORT" ) ]> </TD>
</TR>
<TR>
<TD>Server Date</TD>
<TD><[ ! cdow( jdate( ) ) + " " + date( "MMMM DDDD, YYYY" ) ]> </TD>
</TR>
<TR>
<TD>Server Time</TD>
<TD><[ ! timetostr( time( ), 0 ) + "m" ]> </TD>
</TR>
<TR>
<TD>Document Root</TD>
<TD><[ ! session.data( "DOCUMENT_ROOT" ) ]> </TD>
</TR>
<TR>
<TD>Free Space</TD>
<TD><[ ! strcommas( "" + int( ( drivefree( session.data( "DOCUMENT_ROOT" ) ) / 1000000 ) ) ) + " Megabytes" ]> </TD>
</TR>
<TR>
<TD>Default Document</TD>
<TD><[ ! webServerDefFile( websrvr ) ]> </TD>
</TR>
<TR>
<TD>Virtual Name Server</TD>
<TD>
<[
data = vnsServer( websrvr )
if ( strempty( data ) )
! lower( filefixpath( webServerHome( websrvr ) + "\\vns\\dirlist.ap" ) )
else
! lower( data )
end
]>
</TD>
</TR>
<TR>
<TD>Configuration File</TD>
<TD><[ ! lower( webServerConfigFile( websrvr ) ) ]> </TD>
</TR>
</TABLE>
<P><BR></P>
<P><FONT SIZE=4 COLOR="00FFFF"><B>Session Details</B></FONT><BR></P>
<TABLE BORDER=2 WIDTH=460>
<TR VALIGN="top" ALIGN="left">
<TD>Session Id</TD>
<TD><[ ! "0x" + dec2hex( sessionId ) ]> </TD>
</TR>
<TR>
<TD>User Agent</TD>
<TD><[ ! session.data( "HTTP_USER_AGENT" ) ]> </TD>
</TR>
<TR>
<TD>Client Host</TD>
<TD><[ ! session.data( "CLIENT_HOST" ) ]> </TD>
</TR>
<TR>
<TR>
<TD>Remote Address</TD>
<TD><[ ! session.data( "REMOTE_ADDR" ) ]> </TD>
</TR>
<TR>
<TD>Request Method</TD>
<TD><[ ! session.data( "REQUEST_METHOD" ) ]> </TD>
</TR>
<TR>
<TD>Path Info</TD>
<TD><[ ! session.data( "PATH_INFO" ) ]> </TD>
</TR>
<TR>
<TD>Path Translated</TD>
<TD><[ ! session.data( "PATH_TRANSLATED" ) ]> </TD>
</TR>
<TR>
<TD>Query String</TD>
<TD><[ ! session.data( "QUERY_STRING" ) ]> </TD>
</TR>
<TR>
<TD>Browser Accept</TD>
<TD><[ ! session.data( "HTTP_ACCEPT" ) ]> </TD>
</TR>
<TR>
<TD>Browser Session-Id</TD>
<TD><[ ! session.data( "SESSION-ID" ) ]> </TD>
</TR>
<TR>
<TD>Content-Id</TD>
<TD><[ ! session.data( "CONTENT-ID" ) ]> </TD>
</TR>
</TABLE>
<P><CENTER><FONT SIZE=2><A HREF="http://www.smartdesk.com/websuite.html">Tell me more about the SmartDesk Personal Web Server</A></FONT></CENTER></P>
</TD>
</TR>
</TABLE>
<br><br><br><br>
<[! webFooter( )]>