WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  How to move the traffice from HTTP 6.1 to 8.0?

    Posted Wed October 03, 2012 11:20 AM
    Hi
    Recently i migrated application from WAS 6.1 to WAS 8.0.

    WAS 8.0 is running on new hardware. Now i want to move the all traffice from WAS 6.1 to 8.0.

    Example>   WAS 6.1 URL : abc.was61.com
                      WAS 8.0 URL : abc.was80.com

    When custommer hit's the WAS 6.1 url, it's directly route to WAS 8.0.

    What type of changes i need to do in httpd.conf file?

    Thanks


  • 2.  How to move the traffice from HTTP 6.1 to 8.0?

    Posted Wed October 03, 2012 01:07 PM
    Hi WAS,


      Here different options  
      httpd.apache.org/docs/2.4/rewrite/remapp...

      #With mod_rewrite
       RewriteEngine on
       RewriteRule   ^/docs/(.+)  new.example.com/docs/$1  [R,L]

      #With RedirectMatch
      RedirectMatch ^/docs/(.*) new.example.com/docs/$1

      #With Redirect
      Redirect /docs/ new.example.com/docs/

     In WAS 8 IHS 6.1 is not supported (I think that is not tested, but maybe could work) but in WAS 7 yes. We changed temporarily only plugin-cfg.xml of the v6.1 and putting generated in v7 and works fine. IHS 6.1 redirects requests to new WAS 7. When we saw that IHS 6.1 hadn't requests we shutdown it.
     
      Hope this helps.
     
    regards


  • 3.  How to move the traffice from HTTP 6.1 to 8.0?

    Posted Fri October 05, 2012 11:54 PM
    Hi Gabriel ,
    thanks for your update. I hope this works fine. I am going to test this next week in DEV environemnt.

    Thanks