Hi
Thanks in advanced for anyone who will help.
well,
Our development team asked from me to build for one of our application servers, “qa” server.
The configuration of the servers:
Production server:
Hardware : VMware vm based server
OS : CentOS release 6.3 (Final)
IP address : 192.168.20.101
Hostname jbosstik03
Application server : jboss-eap-6.3
http server : httpd-2.4.3-1.x86_64
Qa server:
Hardware : VMware vm based server
OS : CentOS release 6.3 (Final)
IP address : 192.168.24.103
Hostname jbosstik03qa
Application server : jboss-eap-6.3
http server : httpd-2.4.3-1.x86_64
the process :
We duplicated the production machine with help of the VMwware clone utility.
Replaced Hostname IP and related lan settings.
Changed Jboss and Httpd TCPIP settings.
The problem:
entering IP of the QA server in browser redirects url to following: "http://192.168.20.100/medical/ProtectionServlet?hidden=loginForm"
the above behaivor is as same as production.
I did check and looks like the following two directives in the “/etc/httpd/conf/extra/httpd-vhosts.conf” file were duplicated.
(I do believe this is the reason for that behavior.)
The two directives are as following
RewriteRule informationStation
http://192.168.20.100/istation/ [L,R=301,QSA]
RewriteRule ^/$
http://192.168.20.100/medical/index.jsp [L,R=301,QSA]
The above redirection point me into login page of the application after entering the user and password,the login insert me into production environment
The desired situation is to enter the ip address of the qa in browser will insert me into qa environment(as mentioned qa was duplicated eralier)
just another importent information when i tried to check what is this ip "192.168.20.100"
the security team told me this is the F5 Load Balancer.
I will be happy for any help.
B.R
Herzel.