Class wwwebserver

Administration class that handles server configuration tasks for various Web servers. Supported servers include IIS 10-7, Apache 2.1 and later.

Class Members

MemberDescription

createscriptmap

Creates a script map on the Web server. Pass script extension and a full path to the executable.

o.createscriptmap(lcScriptMap, lcDLLPath, lcIIS4Path)

createvirtual

Create a virtual Directory on the server.

o.createvirtual(lcVirtual, lcPath, lcIIS4Path)

gettemppath

Retrieves the Temp Path appropriate for the Web Server. Supported only for Website - returns the system temp path for all others.

o.gettemppath()

getwebrootpath

Retrieves the physical DOS path for the virtual root of the server. Works with IIS 4, 3, PWS only.

o.getwebrootpath()

setservertype

Sets the server type: IIS4, IIS3, PWS4, PWS3, WEBSITE, COMMERCE, APACHE. Note, PWS for NT Workstation should use the IIS settings.

o.setservertype(lcServerType)

cApplicationPool

Used for IIS 6 and later to force a created virtual to be added to the specified application pool.

cIISVirtualPath

IIS Metabase path for the Web site to work on if the site is IIS4/5 or later.

cservertype

IIS4, IIS3, PWS3, PWS4, WEBSITE, WSISAPI, COMMERCE, CB, APACHE.


© West Wind Technologies, 1996-2019 • Updated: 12/16/15
Comment or report problem with topic