Apache Configuration


Steps: httpd.conf

In order to load the module uncomment the following:

<Apache Install Dir>/conf e.g. C:\Program files\Apache Foundation\Apache\conf

Remove the # in front of the following lines

 

LoadModule rewrite_module modules/mod_rewrite.so

LoadModule proxy_module modules/mod_proxy.so

LoadModule proxy_http_module modules/mod_proxy_http.so

 

 

In order to organize the configuration uncomment the following:

Include conf/extra/httpd-vhosts.conf

 


Web Application Configuration:

Re-direct to a new URL will be transparent to end user. Syntax to be added to the httpd.conf file under the VirtualHost Section or under the httpd-vhosts.conf


<VirtualHost *:80>

ServerAdmin support@clientdomain.com

ServerName <ServerName>

ServerAlias *.<ServerName>

ProxyPass /launch/administration ! 

ProxyPass /launch/ http://localhost:8080/launch/

ProxyPassReverse /launch/ http://localhost:8080/launch/

</VirtualHost>


The Green text is the source path , the Red text is the destination path.

Using the “!” Will block access. this will protect the administration URL from outside access and force it to be accessed directly through tomcat i.e. on port 8080

Servername is the externally facing DNS name i.e. public.bi_server.com


Web Service configuration:

Obfuscating the BOE Web service calls will make the complete URL transparent to end user using a tracing tool to see what URL’s are being called. Syntax to be added to the httpd.conf file under the VirtualHost Section..

 

<VirtualHost *:80>

ServerAdmin support@clientdomain.com

ServerName <ServerName>

ServerAlias *.<ServerName>

RewriteEngine on

RewriteRule ^/BIWS1/(.*) http://BOESERVE:8080/dswsbobje/qaawsservices/biws?WSDL=1&cuid=ATugNhbUQ [P]

ProxyPass /launch/ http://localhost:8080/launch/

ProxyPassReverse /launch/ http://localhost:8080/launch/

RewriteLog "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/rewrite.log"

</VirtualHost>

 


Update to Dashboard

https://Servername/BIWS1/


Custom Error Messages:

To white label LW for the customer and support the customization of most error messages the following feature can be configured.


Steps: httpd.conf

In order to load the module unremark the the following:

conf/httpd.conf

 

Include conf/mod-substitute.conf

 

In order to organize the configuration then edit the conf/mod-substitute.conf

The mod-substitute.conf file should contain:

 LoadModule substitute_module modules/mod_substitute.so


<Location /launch>

AddOutputFilterByType SUBSTITUTE text/html

AddOutputFilterByType SUBSTITUTE text/css

AddOutputFilterByType SUBSTITUTE text/js

Substitute "s|Null Pointer|<font color=\"#FF0000\">Please Call 877-857-7407</font>|i"

Substitute "s/contact your system administrator / , please call 877-857-7407/i"

</Location>



Troubleshooting


Getting “Requested Operation Has Failed” when trying to start Apache server from the monitor tool means the Windows service has been disabled.