Setting Up Apache HTTP Server for Designer of Business Applications on Windows OS

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.

It is supposed that DBA.war archive is unpacked and is in the C:\Program Files\Foresight\Designer of Business Application Web Server\ folder.

To set up Apache HTTP Server to access designer of business applications resources:

  1. Make sure that Apache HTTP Server (httpd) web server was installed. Otherwise install the web server using the command.

  2. Open the S\conf\httpd.conf configuration file, where S is a path to the folder with installed Apache HTTP Server, and uncomment the following strings:

LoadModule headers_module modules/mod_headers.so

LoadModule proxy_module modules/mod_proxy.so

LoadModule proxy_http_module modules/mod_proxy_http.so

LoadModule rewrite_module modules/mod_rewrite.so

Include conf/extra/httpd-vhosts.conf

  1. Open the httpd-vhosts.conf configuration file for edit:

sudo juffed S\conf\extra\httpd-vhosts.conf

where S is the path to Apache HTTP Server installation folder.

  1. Add the following strings at the end:

<VirtualHost *:80>

    ServerName dba

    ErrorLog "logs/error.log"

    CustomLog "logs/access.log" common

    

    Alias /dba/ C:\Program Files\Foresight\Designer of Business Application Web Server\

    ProxyPass /dba/app/PPService.axd http://localhost:9090/axis2/services/PP.SOM.Som

    RewriteEngine On

    RewriteCond %{QUERY_STRING} (.*(?:^|&))cache(=1)?((?:&|$).*)

    RewriteRule .* - [env=CACHEBLE]

    KeepAlive Off

    <Directory "C:\Program Files\Foresight\Designer of Business Application Web Server\">

        Options Indexes

        AllowOverride All

        Order allow,deny

        Allow from all

        FileETag None

        SetEnv no-gzip 1

        SetEnv dont-vary 1

        <FilesMatch "\.([^.]+)$">

            Header set Cache-Control "public, max-age=31536000" env=CACHEBLE

            Header unset Pragma

            Header unset ETag

            UnsetEnv CACHEBLE

        </FilesMatch>

        <FilesMatch "\.cache\.(js|html)$">

            Header set Cache-Control "public, max-age=31536000"

        </FilesMatch>

   </Directory>

</VirtualHost>

After setting up Apache HTTP Server to access resources of the designer of business applications, restart web server.

See also:

Installing BI Server on Windows OS | Installing and Setting Up Designer of Business Applications Back End