Jump to content

JbossApcheReverseProxy: Difference between revisions

From TetraWiki
Vijay (talk | contribs)
Created page with "Category: CAPITAL BANK Category: Apche Jboss '''Aapche-Jboss Reverse Proxy using mod_proxy ''' == Apache Changes == You need to load the mod_ssl module <VirtualHost..."
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category: CAPITAL BANK]]
[[Category: Capital Bank]]
[[Category: Apche Jboss]]
[[Category: Apche Jboss]]


'''Aapche-Jboss Reverse Proxy using mod_proxy '''
'''
== Aapche-Jboss Reverse Proxy using mod_proxy ==
'''
 


== Apache Changes ==
== Apache Changes ==
You need to load the mod_ssl module
You need to load the mod_ssl module


<VirtualHost *:443>
<VirtualHost *:443>
  ServerAdmin vijay@tetrain.com
  ServerAdmin vijay@tetrain.com
  DocumentRoot "/var/www/html"
  DocumentRoot "/var/www/html"
Line 20: Line 24:
  ErrorLog logs/jboss-error.log
  ErrorLog logs/jboss-error.log
  CustomLog logs/jboss-access.log common
  CustomLog logs/jboss-access.log common
</VirtualHost>
</VirtualHost>
:wq!
:wq!


== '''SELINUX Settings''' ==
== '''SELINUX Settings''' ==

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