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()

IsIISExpressInstalled

Checks to see if IIS Express is installed by checking for the IIS Express binary in the installation folder.

o.IsIISExpressInstalled(llNoPrompt)

IsIISInstalled

Determines whether IIS is installed and has the necessary configuration components (IIS Metabase Compatibility) in order to run an IIS configuration.

o.IsIISInstalled(llNoPrompt)

IsWebConnectionWebServerInstalled

Determines whether the required .NET Core Runtime components are installed so that the Web Connection Web Server can be installed and run.

o.IsWebConnectionWebServerInstalled(llNoPrompt)

IsWebServerInstalled

Determines whether a give Web Server is installed using the Web Connection Server Types (from servers.dbf).

o.IsWebServerInstalled(lcServerType, llNoPrompt)

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-2024 • Updated: 12/16/15
Comment or report problem with topic