Jump to content

JbossApcheReverseProxy: Difference between revisions

From TetraWiki
Vijay (talk | contribs)
No edit summary
No edit summary
 
Line 1: Line 1:
[[Category: CAPITAL BANK]]
[[Category: Capital Bank]]
[[Category: Apche Jboss]]
[[Category: Apche Jboss]]



Latest revision as of 10:28, 10 July 2014


Aapche-Jboss Reverse Proxy using mod_proxy[edit]



Apache Changes[edit]

You need to load the mod_ssl module

<VirtualHost *:443>
ServerAdmin vijay@tetrain.com
DocumentRoot "/var/www/html"
ServerName 192.168.0.58
SSLEngine on
SSLProxyEngine on
SSLCertificateFile "/etc/pki/tls/certs/server.crt"
SSLCertificateKeyFile "/etc/pki/tls/private/server.key"
ProxyRequests On
ProxyPass / http://192.168.0.57:28080/ReachWeb/
ProxyPassReverse / http://192.168.0.57:28080/ReachWeb/
ErrorLog logs/jboss-error.log
CustomLog logs/jboss-access.log common
</VirtualHost>
:wq!

SELINUX Settings[edit]

Run either of following command to allow SELinux to permit httpd

  1. setsebool httpd_can_network_connect 1
  2. /etc/init.d/httpd restart

How to Test[edit]

Open web browser and thn open the given link https://202.169.35.37