Hi all,
I installed the Apache Http Web Server on RH-Linux and want to configure it so that the incoming browsing will be forward to the application deployted on Jboss. I do followings:
1. Set the ip-address in "/etc/sysconfig/network-scripts/ifcfg-eth0:xx"
2. Create a .conf file which looks as follow:
Code:
...
<VirtualHost 194.12.34.38:80>
ServerName web-mycompany.com:80
ServerAdmin root@localhost
DocumentRoot /opt/content/web-myweb
<IfModule mod_weblogic.c>
debug ALL
WLLogFile /var/log/httpd/wl-proxy-myweb.log
DebugConfigInfo ON
</IfModule>
CustomLog /var/log/httpd/web-myweb-test.mycompany-combined_log combined
ErrorLog /var/log/httpd/web-myweb-test.mycompany-error_log
<Directory "/opt/content/web-portfolio">
Options Indexes FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
#1 Send everything for context /examples to worker named worker_portfolio (ajp13)
JkMount /myWebApp* myworker
</VirtualHost>
...
3. Configure the workers.properties as follow:
Code:
...
myowrker
# worker template
worker.template.connection_pool_timeout=600
worker.template.socket_timeout=120
worker.template.type=ajp13
worker.socket_keepalive=True
# Set properties for worker_portfolio
worker.myworker.reference=worker.template
worker.myworker.host=test.mycompany.com
worker.myworker.port=8009
...
I think that's all for the configuration.
But as I try to call up "http://web-mycompany.com/myWebApp", it failed. I got error message as follow:
Code:
...
The following error was encountered:
* Connection Failed
The system returned:
(111) Connection refused
The remote host or network may be down. Please try the request again.
...