ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WEBDEV administrator / WEBDEV Application Server administrator / 07. Appendix 2: Configuring the web servers
  • Configuring the server for the CGI protocol
  • Configuring the server for WEBDEV sites
  • Caution
  • Configuring the server for the sites that use Active WEBDEV Pages
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Configuring the Apache server (1.3.x and 2.0.x)
Warning
From version 28, only Apache 2.4 (or a later version) can be used. Apache 1.3.x and 2.0.x are old versions.
Configuring the server for the CGI protocol
To configure the Web server:
  1. Edit the "httpd.conf" file in a text editor.
    This file is located in the "/Conf" subdirectory of the Apache server setup directory.
  2. Add the alias definition for the CGI protocol (WD290AWP.EXE) to the "httpd.conf" file with the following lines:
    ScriptAlias /<Alias>/ "Engine directory"
    • Example: Development computer: the engine is in the "C:\WEBDEV\PROGRAMS\ENGINE\WINDOWS\AWP" directory and the alias name is WD290AWP:
      ScriptAlias /WD280AWP/ "C:/WEBDEV/PROGRAMS/ENGINE/WINDOWS/AWP/"
    • Example: Deployment computer: the engine is in the "C:\WEBDEV\ENGINE\WINDOWS\AWP" directory and the alias name is WD290AWP:
      ScriptAlias /WD280AWP/ "C:/WEBDEV/ENGINE/WINDOWS/AWP/"
  3. Restart the Apache server.
Remarks
  • The \ characters are changed into /.
  • Don't forget the final / in the path.
  • Case sensitivity must be complied with.
Configuring the server for WEBDEV sites
To configure the Web server:
  1. Edit the "httpd.conf" file in a text editor. This file is located in the "/Conf" subdirectory of the Apache server setup directory.
  2. Add into the "httpd.conf" file the definition of alias for the images of each WEBDEV site:
    Alias /<Name of Image alias>/ "Directory of application images"

    Example for the WEBDEMO site:
    Alias /WEBDEMO_WEB/ "C:/WEBDEMO/WEBDEMO_WEB/"
  3. Restart the Apache server.

Caution

  • With the Apache server, the alias name is "case sensitive". You must comply with the case defined for the alias in the HTML pages that refer to the directory of images.
  • An alias of images must be defined for each WEBDEV site.
Configuring the server for the sites that use Active WEBDEV Pages
To configure the Web server:
  1. Edit the "httpd.conf" file in a text editor. This file is located in the "/Conf" subdirectory of the Apache server setup directory.
  2. Add the following line into the "AddType" section:
    AddType application/WEBDEV28-awp .awp
  3. Add the following line to the "Action" section:
    Action application/WEBDEV28-awp /WD280AWP/WD280AWP.EXE
Remark: in this line, WD290AWP corresponds to the engine alias.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 02/16/2023

Send a report | Local help