Web Server Application Wizard for Windows

From RAD Studio
Jump to: navigation, search

Go Up to New Web Server Application


File > New > Other > Delphi > Web > Web Server Application
File > New > Other > C++ Builder > Web > Web Server Application

To create a web server application for Windows, select Windows in the New Web Server Application Wizard and follow the steps below.

WebBroker Project Type page

On this page, you can select the type of web server application.

  1. Select the required type of web server application:
    • Apache dynamic link module: a server that hosts static or dynamic websites, providing secure and efficient web server features as SSL (Secure Sockets Layer) and virtual domains. Apache supports HTTP and HTTPS.
    • Stand-alone console application: sets up an environment for developing Web server console applications.
    • ISAPI dynamic link library: ISAPI web server applications are are dynamic link libraries (DLL) that are loaded by the web server. Client request information is passed to the DLL as a structure and evaluated by TISAPIApplication. Each request message is handled in a separate execution thread. Selecting this type of application adds the library header of the project files and required entries to the uses list and exports clause of the project file.
    • CGI stand-alone executable: a console application that receives client request information on standard input and passes the results back to the server on standard output. This data is evaluated by TCGIApplication. Each request message is handled by a separate instance of the application. Selecting this type of application adds the library header of the project files and required entries to the uses list and exports clause of the project file.
  2. Click Next.

Webserver win01.png

Application Type page

On this page, you can select the type of application.

  1. Select the type of application you want to create:
  2. Click Next.

Webserver win02.png

Port Number page

On this page, specify the ports that the web server application will use to listen to the client requests.

  1. To check the availability of the specified port, click Test Port.
  2. To select an open port automatically detected by the DataSnap Server, click Find Open Port.
  • Note: Select the HTTPS check box to use the HTTPS protocol. The HTTPS communications port will be set to 443, which is a port commonly used by IIS, and the wizard will display an additional step that prompts for information regarding the X.509 certificate files.

Webserver win03.png

X.509 Certificates page

This step appears only if you select the HTTPS communication protocol on the Port Number page.

  1. To use the X.509 certificates, enter the following data:
    • Certificate file name: holds the X.509 certificate (*.pem).
    • Key file name: holds the key.
    • Key file password: contains the password for the key file.
    • Root certificate file name: holds the root certificate.
  2. To validate the selection, click Test.
  3. Click Next

Webserver win04.png

Apache Module Options page

This page opens only if you selected the Apache dynamic link module on the WebBroker Project Type page.

Specify the following:

  1. Apache version
  2. Apache module
  3. Apache unit: this value is predefined. You cannot edit it.
  4. Click Finish.

Webserver linux02.png

See Also