Programs

Windows CE

7.7WEB SERVER (HTTPD)

The device is provided with a web server that is based on the standard web server from Windows CE

3.0and Windows CE 5.0 respectively. The web server (HTTPD) supports only a part of the HTTP/1.0 protocol with restricted functionality. ASP (Active Server Pages) is supported with JScript 3.0 and VBScript 3.0 (Windows CE 3.0) and JScript 5.6 and VBScript 5.6 (Windows CE 5.0) respectively.

Note:

More detailed information on the functions of the web server is provided in the MSDN documentation from Microsoft.

7.7.1GENERAL SETTINGS

The following registry settings control the functionality of the web server (see also chapter Registry Editor).

Note:

Changes in the registry are not activated until server. The dword entries are in hexadecimal

the next restart (see Web server start/stop) of the web format (see also chapter Sample settings).

Basic registry entries under [HKEY_LOCAL_MACHINE\COMM\HTTPD]:

Entry

Type

Description

DirBrowse

dword

«Directory browsing» is permitted if the value does not equal 0. If the

 

 

value is 0, the content of the directory cannot be viewed in the browser.

DefaultPage

string

List of all default pages, separated by semicolons, e.g.

 

 

"default.htm;default.asp;index.htm;index.asp"

 

 

If the web server selects a directory, the corresponding pages are

 

 

searched for according to the default page. If the appropriate page is

 

 

found, this is transferred to the browser. If none of the web pages are

 

 

present, the directory content is displayed or an error is returned to the

 

 

browser, depending on the DirBrowse setting.

Basic

dword

This value must be set to 0.

NTLM

dword

If the value is 0, no authentication is used. If the value does not equal 0,

 

 

authentication is carried out with NTLM. See also chapter HTTP

 

 

Authentication.

AdminUsers

string

List of all user names with administrator rights, separated by semicolons.

 

 

Caution: All users will have administrator rights if this entry is empty!

Port

dword

Port number for HTTP requests (the default setting is: dword:0050 Æ

 

 

Port number 80)

LogFileDirectory

string

Directory in which the LOG file is created – do not save on the CF card

 

 

«\StorageCard»

MaxLogSize

dword

Maximum size of the LOG file. If the maximum size is reached, the oldest

 

 

entry present is overwritten. No log file is created if the value is 0 or is not

 

 

set. The memory size according to the available memory must be

 

 

observed (see chapter Memory).

MaxConnections

dword

Maximum number of connections to the web server that can be opened

 

 

at the same time (default): dword:000a Æ max. 10 connections)

58

M000174-19

Page 58
Image 58
Micro Innovations M000174-19 manual WEB Server Httpd