1 2 Previous Next 20 Replies Latest reply on Nov 24, 2014 5:50 AM by karthickas.007 Go to original post
      • 15. Re: Redirect URL using Rewrite value
        jfclere

        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

          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

          rewrite prop.PNG

          2.we made some changes in web.xml

          webxml.PNG

          3.we created jboss-web.xml in WEB-INF folder

          jboss web.PNG

          4.Standalone.xml

          standalone.PNG

          But it did not worked for me.How to fix this problem???????

          • 17. Re: Redirect URL using Rewrite value
            jfclere

            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

              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

                If you don't answer my questions I can't help :-(

                • 20. Re: Redirect URL using Rewrite value
                  karthickas.007

                  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

                  1 2 Previous Next