|
|
|
|
- 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
Configuring the Apache 2.2 server
Warning
From version 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: - Edit the "httpd.conf" file in a text editor.
This file is located in the "/Conf" subdirectory of the Apache server setup directory. - Add the alias definition for the CGI protocol (WD280AWP.EXE) to the "httpd.conf" file with the following lines:
ScriptAlias /<Alias>/ "Engine directory" <Directory "Engine directory"> Order allow,deny Allow from all </Directory>
- Example: Development computer: the engine is in the "C:\WEBDEV\PROGRAMS\ENGINE\WINDOWS\AWP" directory and the alias name is WD280AWP:
ScriptAlias /WD280AWP/ "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 in the "C:\WEBDEV\ENGINE\WINDOWS\AWP" directory and the alias name is WD280AWP:
ScriptAlias /WD280AWP/ "C:/WEBDEV/ENGINE/WINDOWS/AWP/" <Directory "C:/WEBDEV/ENGINE/WINDOWS/AWP/"> Order allow,deny Allow from all </Directory>
- 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 sites To configure the Web server: - Edit the "httpd.conf" file in a text editor. This file is located in the "/Conf" subdirectory of the Apache server setup directory.
- Add into the "httpd.conf" file the definition of 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>
- 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/WEBDEV28-awp </Files>
- 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> ;to manage short URLs <WEBDEMO files> Allow from all ForceType application/WEBDEV28-awp </Files>
- 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: - Edit the "httpd.conf" file in a text editor. This file is located in the "/Conf" subdirectory of the Apache server setup directory.
- Add the following line into the "AddType" section:
AddType application/WEBDEV28-awp .awp AddType application/WEBDEV28-awws .awws
- Add the following line to the "Action" section:
- In Windows:
Action application/WEBDEV28-awp /WD280AWP/WD280AWP.exe virtual Action application/WEBDEV28-awws /WD280AWP/WD280AWP.exe virtual
- In Linux:
Action application/WEBDEV28-awp /WD280AWP/WD280AWP virtual Action application/WEBDEV28-awws /WD280AWP/WD280AWP virtual
Remark: in this line, WD280AWP corresponds to the engine alias.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|