Getting below error for the VIP
Hello , We have created a VIP : uat-api.directory.kamlesh.com Who should redirect to : http://uat1-jboss7.digital-solutions.kamlesh.com:8080/rest2ldap http://uat2-jboss7.digital-solutions.kamlesh.com:8080/rest2ldap Above Redirection works correct as per the Irule- Irule attached here is - when HTTP_REQUEST { if {[string tolower [HTTP::host]] ends_with ".directory.kamlesh.com"}{ pool pool_uat_jboss7 HTTP::uri "/rest2ldap" } }
I made the following test on server. If I do a curl on http://uat2-jboss7.digital-solutions.kamlesh.com:8080/rest2ldap/users/admin_f2400731 I got an answer from my application. If I do a curl on http://uat1-jboss7.digital-solutions.kamlesh.com:8080/rest2ldap/users/admin_f2400731 I got an answer from my application.
But if I do a curl on https://uat-api.directory.kamlesh.com/users/admin_f2400731 I got an error : {"code":404,"reason":"Not Found","message":"Resource '' not found"}
Could any please help or suggest on it.Unable to understand where is the issue ? Thanks in advance. Regards Kamlesh Y