|
|
|
|
- Configuring the "Apache 2.4" server for WEBDEV
- Configuring the server for the CGI protocol (AWP)
- Configuring the server for the WEBDEV sites and the SOAP Webservices
- Configuring the server for the REST Webservices
Configuring the Apache 2.4 server
Configuring the "Apache 2.4" server for WEBDEV Configuring the server for the CGI protocol (AWP) - Edit the "httpd.conf" file in a text editor. This file is located in the "/Conf" subdirectory of the Apache server installation directory.
- Add the alias definition for the CGI protocol (WD290AWP.EXE) to the "httpd.conf" file with the following lines:
Alias /WD290AWP/res/ "/usr/local/WEBDEV/29.0/AWP/res/" <directory "/usr/local/WEBDEV/29.0/AWP/res/"> Require all granted </directory> AliasScript /WD290AWP/ "/usr/local/WEBDEV/29.0/AWP/" <directory "/usr/local/WEBDEV/29.0/AWP/"> Require all granted </directory> AddType application/WEBDEV29-awp .awp Action application/WEBDEV29-awp /WD290AWP/WD290AWP virtual AddType application/WEBDEV29-awws .awws Action application/WEBDEV29-awws /WD290AWP/WD290AWP virtual DirectoryIndex index.awp
Configuring the server for the WEBDEV sites and the SOAP Webservices 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 installation directory.
- Add into the "httpd.conf" file the definition of alias for the images of each WEBDEV site:
Alias /<Name Image Alias>/ "Directory of site images" For example, for the "MonSite" site:
Alias /MYSITE_WEB/ "/home/twr/wb28/site/MySite/MYSITE_WEB/" <Directory /home/twr/wb28/site/MySite/MYSITE_WEB/> Require all granted AddType text/cache-manifest .manifest AddType image/svg+xml .svg AddType video/webm .webm AddType text/vtt .vtt </Directory> <Files MySite> ForceType application/WEBDEV29-awp Require all granted </Files> 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 REST Webservices 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 installation directory.
- Add into the "httpd.conf" file an entry for each first unique resource component:
<Files FirstResourceComponent> Require all granted Action application/WEBDEV29-rest /WD290AWP/WD290AWP.exe/REST/<Web service name> virtual ForceType application/WEBDEV29-rest </Files> - For example, for "WSRESTfulWebsite", which exports "/Customer", "/Customer/xxx/Invoice" and "/Order", add:
<Files Client> Require all granted Action application/WEBDEV29-rest /WD290AWP/WD290AWP.exe/REST/WSRESTfulWebsite virtual ForceType application/WEBDEV29-rest </Files> <Files Command> Require all granted Action application/WEBDEV29-rest /WD290AWP/WD290AWP.exe/REST/WSRESTfulWebsite virtual ForceType application/WEBDEV29-rest </Files>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|