PC SOFT - Online help
Version: 18.0
Community: 0 annotation | Annotate RSS feed
Warning: Content of this document will be soon extended. Warning: Content of this document will be soon extended.
Displayed version:
Configuring the Apache 2.2 server
 

 
WinDev WebDev - Server code WebDev - Browser code WinDev Mobile Reports and Queries   Windows Linux Windows Mobile Windows Phone Android Android Widget iPhone/iPad Windows Store apps   Java PHP Ajax User code (UMC) External language   HyperFileSQL HyperFileSQL Client/Server Stored procedures Hyper File 5.5 OLE DB ODBC Native Accesses

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 (WD180AWP.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 WD180AWP:

ScriptAlias /WD180AWP/ "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 WD180AWP:

ScriptAlias /WD180AWP/ "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 /<Name of Image Alias>/ "Directory of application images"
<Directory "Directory of application images">
Order allow,deny
Allow from all
</Directory>

Example for the WEBDEMO site.

Alias /WEBDEMO_WEB/ "C:/WEBDEMO/WEBDEMO_WEB/"
<Directory "C:/WEBDEMO/WEBDEMO_WEB/">
Order allow,deny
Allow from all
</Directory>

3. 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/WebDev18-awp .awp
AddType application/WebDev18-awws .awws

3. Add the following line into the "Action"section:

In Windows:

Action application/WebDev18-awp /WD180AWP/WD180AWP.exe virtual
Action application/WebDev18-awws /WD180AWP/WD180AWP.exe virtual

In Linux:

Action application/WebDev18-awp /WD180AWP/WD180AWP virtual
Action application/WebDev18-awws /WD180AWP/WD180AWP virtual

Note: in this line, WD180AWP corresponds to the alias of the engine.
 
 
Minimum required version: 11
Community: 0 annotation RSS feed
Please login to annotate | Terms of service