This article is one of the steps of Apache HTTP Server setup to access resources of the designer of business applications. See full instruction in the Installing and Setting Up Designer of Business Applications Back End article.
To access resources of the designer of business applications in RedHat-based distributions, set up Apache HTTP Server:
Make sure that the following conditions are satisfied:
The designer of business applications is unpacked and is located in the /opt/foresight/dba/10.x folder
The DBA.config.json configuration file is set up.
Specify the path to the folder with installed designer of business applications in /etc/sysconfig/httpd:
When systemd is used as an initialization system, do not use the export command for correct setup:
Open the /etc/httpd/conf.d/webserver.conf file for edit, which was created on setting up Apache HTTP Server to access web application resources at Step 4, and add the following strings before the closing tag </VirtualHost>:
Specify the address contained in ProxyPass, as a value of the ppServiceUrl field in the DBA.config.json file:
"ppServiceUrl": "http://<BI server>/dba/PPService.axd"
In the substitutions:
<BI server>. Specify IP address or DNS name, on which BI server is installed, in the webserver.conf and DBA.config.json files.
<port number>. Specify port number, at which BI server is available. The 8810 port is used by default.
NOTE. The dba directory name can be changed. For details about setting up virtual hosts in Apache2, see the official documentation.
Grant https access permissions to files of the designer of business applications:
Restart httpd:
After executing the operations open the designer of business applications at:
http://localhost:80/dba/#/login?repo=FPREPOSITORY
Where:
FPREPOSITORY. Repository identifier.
If authorization failed, check BI server performance and its settings according to the Installing and Setting Up BI Server on RHEL-Based Distributions article.
See also:
Installing and Setting Up BI Server in RedHat-Based Distributions | Installing and Setting Up Designer of Business Applications Back End