|
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 | realReq | bool | | 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.
|
|
(loadtime : 124ms) |