-
15. Re: Redirect URL using Rewrite value
jfclere Mar 31, 2014 7:40 AM (in response to gurushant)It looks you are fixing the problem the wrong way, first use your dojo to prevent the user to navigate if that doesn't work I am not sure how the ReWriteValve could prevent valid request depending on the context.
May be you have to write your own valve for that.
-
16. Re: Redirect URL using Rewrite value
karthickas.007 Nov 24, 2014 3:41 AM (in response to jfclere)Hello Jean-Frederic Clere,
I have an Amazon Load balancer(ELB) for my domain www.example.com . At the moment i have two instance behind the ELB running a web app on JBoss 7. I want to be able to redirect the user from http to https. we added SSL certificate already for load balancer
BEFORE:
Previously we use SSL enabled single instance without load balancer. we made following changes and it worked well
AFTER
But now we using two instance with load balancer.And for two instance we have jboss 7 server each. We add SSL for that load balancer only not for jboss
How to redirect the user from http to https.
We made some following changes
1.we created rewrite.properties in WEB-INF folder
2.we made some changes in web.xml
3.we created jboss-web.xml in WEB-INF folder
4.Standalone.xml
But it did not worked for me.How to fix this problem???????
-
17. Re: Redirect URL using Rewrite value
jfclere Nov 24, 2014 4:10 AM (in response to karthickas.007)Doesn't work doesn't help :-(
What is wrong? redirect to a wrong host (like HTTP_HOST being the node name) or the valve is not called?
-
18. Re: Redirect URL using Rewrite value
karthickas.007 Nov 24, 2014 4:42 AM (in response to jfclere)I have an Amazon Load balance r(ELB) for my domain www.example.com .
At the moment i have two instance behind the ELB running a web app on J Boss 7.
I want to be able to redirect the user from HTTP to HTTPS. we added SSL certificate already for load balance r.
Can you provide few instructions please?
-
19. Re: Redirect URL using Rewrite value
jfclere Nov 24, 2014 5:28 AM (in response to karthickas.007)If you don't answer my questions I can't help :-(
-
20. Re: Redirect URL using Rewrite value
karthickas.007 Nov 24, 2014 5:50 AM (in response to jfclere)Sorry Jean, I dont understand your question.please explain clearly.I have not working experiance in Jboss 7.Please help me to resolve this issue