PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Configuring the server for the CGI protocol
  • Configuring the server for the WEBDEV sites
  • Caution
  • Configuring the server for the sites that use AWP pages (Active Web Pages)
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Configuring the Apache 2.2 server
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 found in the "/Conf" sub-directory of the setup directory of the Apache server.
  2. Add into the "httpd.conf" file the definition of the alias for the CGI protocol (WD230AWP.EXE) via the following line:
    ScriptAlias /<Alias>/ "Engine directory"
    <Directory "Engine directory">
    Order allow,deny
    Allow from all
    </Directory>
    • Example: Development computer: the engine is found in the "C:\WEBDEV\PROGRAMS\ENGINE\WINDOWS\AWP" directory and the name of the alias is WD230AWP:
      ScriptAlias /WD220AWP/ "C:/WEBDEV/PROGRAMS/ENGINE/WINDOWS/AWP/"
      <Directory "C:/WEBDEV/PROGRAMS/ENGINE/WINDOWS/AWP/">
      Order allow,deny
      Allow from all
      </Directory>
    • Example: Deployment computer: the engine is found in the "C:\WEBDEV\ENGINE\WINDOWS\AWP" directory and the name of the alias is WD230AWP:
      ScriptAlias /WD220AWP/ "C:/WEBDEV/ENGINE/WINDOWS/AWP/"
      <Directory "C:/WEBDEV/ENGINE/WINDOWS/AWP/">
      Order allow,deny
      Allow from all
      </Directory>
  3. Restart the Apache server.
Notes:
  • the \ characters are changed into /
  • don't forget the final / in the path.
  • the case sensitivity must be complied with.
Configuring the server for the WEBDEV sites
To configure the Web server:
  1. Edit the "httpd.conf" file in a text editor. This file is found in the "/Conf" sub-directory of the setup directory of the Apache server.
  2. Add into the "httpd.conf" file the definition of the alias for the images of each WEBDEV site:
    ;alias for the images, js, static files, css...
    Alias /<Name of Image alias>/ "Directory of application images"
    <Directory "Directory of application images">
    Order allow,deny
    Allow from all
    </Directory>
  3. Add (if necessary) the information used to manage the short URLs in the "httpd.conf" file:
    ;for the management of short URLs
    <ProjectName Files>
    Allow from all
    ForceType application/WebDev22-awp
    </Files>
  4. Example for the WEBDEMO site.
    ;alias for the images, js, static files, css...
    Alias /WEBDEMO_WEB/ "C:/WEBDEMO/WEBDEMO_WEB/"
    <Directory "C:/WEBDEMO/WEBDEMO_WEB/">
    Order allow,deny
    Allow from all
    </Directory>
    ;for the management of short URLs
    <WEBDEMO files>
    Allow from all
    ForceType application/WebDev22-awp
    </Files>
  5. Restart the Apache server.

Caution

  • With the Apache server, the name of the alias 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 AWP pages (Active Web Pages)
To configure the Web server:
  1. Edit the "httpd.conf" file in a text editor. This file is found in the "/Conf" sub-directory of the setup directory of the Apache server.
  2. Add the following line into the "AddType" section:
    AddType application/WebDev22-awp .awp
    AddType application/WebDev22-awws .awws
  3. Add the following line into the "Action" section:
    • In Windows:
      Action application/WebDev22-awp /WD220AWP/WD220AWP.exe virtual
      Action application/WebDev22-awws /WD220AWP/WD220AWP.exe virtual
    • In Linux:
      Action application/WebDev22-awp /WD220AWP/WD220AWP virtual
      Action application/WebDev22-awws /WD220AWP/WD220AWP virtual
Note: in this line, WD230AWP corresponds to the alias of the engine.
Minimum required version
  • Version 11
Comments
Click [Add] to post a comment