AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Características específicas de WEBDEV / Servidor WEB
  • 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
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Advertencia
A partir de la versión 28, only Apache 2.4 (or a later version) can be used. Apache 2.2 is an old version.
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"
    <Directory "Répertoire du moteur">
    Order allow,deny
    Allow from all
    </Directory>
    • 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/"
      <Directory "C:/WEBDEV/Programs/MOTEUR/WINDOWS/AWP/">
      Order allow,deny
      Allow from all
      </Directory>
    • 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/"
      <Directory "C:/WEBDEV/MOTEUR/WINDOWS/AWP/">
      Order allow,deny
      Allow from all
      </Directory>
  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 pour les images, les js, fichiers statiques, css...
    Alias /<Nom alias Image>/ "Répertoire des images de l'application"
    <Directory "Répertoire des images de l'application">
    Order allow,deny
    Allow from all
    </Directory>
  3. Add (if necessary) the information used to manage the short URLs in the "httpd.conf" file:
    ;pour la gestion des URLs courtes
    <Files NomDuProjet>
    Allow from all
    ForceType application/WEBDEV30-awp
    </Files>
  4. Example for the WEBDEMO site.
    ;alias pour les images, les js, fichiers statiques, css...
    Alias /WEBDEMO_WEB/ "C:/WEBDEMO/WEBDEMO_WEB/"
    <Directory "C:/WEBDEMO/WEBDEMO_WEB/">
    Order allow,deny
    Allow from all
    </Directory>
    ;pour la gestion des URLS courtes
    <Files WEBDEMO>
    Allow from all
    ForceType application/WEBDEV30-awp
    </Files>
  5. 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
    AddType application/WEBDEV30-awws .awws
  3. Add the following line to the "Action" section:
    • In Windows:
      Action application/WEBDEV30-awp /WD300AWP/WD300AWP.exe virtual
      Action application/WEBDEV30-awws /WD300AWP/WD300AWP.exe virtual
    • In Linux:
      Action application/WEBDEV30-awp /WD300AWP/WD300AWP virtual
      Action application/WEBDEV30-awws /WD300AWP/WD300AWP virtual
Note: in this line, WD300AWP is the motor alias.
Versión mínima requerida
  • Versión 11
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local