Whitebeam Template Reference Documentation

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Template Reference Documentation

System Template

env.ServerSw()

Name of the HTTP server executing the application.

Syntax

string = rb.page.env.ServerSw(realReq)

Parameters

The 'env.ServerSw' method takes 1 parameter:

Name Type/Value Range/Length Description
realReqbool  Optional. Set to 'true' to retrieve information about the original request where this is an error page handler.

Results

The 'env.ServerSw' method returns string:

Type/Value Range/Length Description
string  

Remarks

Returns the name and version number of the server software environment in which Whitebeam is integrated. At the moment Whitebeam only works with the Apache server. The string returned is generated by the server itself. For example, running Apache 1.3.23 on Linux returns the following string:

Apache/1.3.23 (Unix)
The string is derived from the server software directly. The string is completely controlled by the server and the string can change depending on the version of the server and the operating system being used.

Whitebeam release 1.3.36
(loadtime : 61ms)