ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / WEBDEV specific features / WEB server
  • Configuring the server for the CGI protocol
  • Configuring the server for WEBDEV websites
  • Caution
  • Configuring the server for the sites that use Active WEBDEV Pages
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 installation directory.
  2. Add the alias definition for the CGI protocol (WD300AWP.EXE) to the "httpd.conf" file with the following lines:
    ScriptAlias /<Alias>/ "Répertoire du moteur"

    Example: development station: the engine is located in the "C:\WEBDEV\Programs\Engine\WINDOWS\AWP" directory and the alias name is WD300AWP:
    ScriptAlias /WD300AWP/ "C:/WEBDEV/Programs/MOTEUR/WINDOWS/AWP/"

    Example: Deployment workstation: the engine is located in the "C:\WEBDEV\Engine\WINDOWS\AWP" directory and the alias name is WD300AWP:
    ScriptAlias /WD300AWP/ "C:/WEBDEV/MOTEUR/WINDOWS/AWP/"
  3. Restart the Apache server.
Remarks
  • the \ characters are changed into /
  • don't forget the final / in the path.
  • the case sensitivity must be complied with.
Configuring the server for WEBDEV websites
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 installation directory.
  2. Add the definition of the image alias for each WEBDEV site to the "httpd.conf" file:
    Alias /<Nom alias Image>/ "Répertoire des images de l'application"

    For 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 website.
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 installation directory.
  2. Add the following line into the "AddType" section:
    AddType application/WEBDEV30-awp .awp
  3. Add the following line to the "Action" section:
    Action application/WEBDEV30-awp /WD300AWP/WD300AWP.EXE
Note: in this line, WD300AWP corresponds to the motor alias.
Minimum version required
  • Version 10
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help