TrueSight Capacity Optimization (TSCO): wrong redirect URL using a load balancer

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    TrueSight Capacity Optimization


    COMPONENT:

    Capacity Optimization



    QUESTION:

    TSCO while using a load balancer is not connecting to proper TSCO URL Trying to set up a vanity url:

        https://company_name.domain.com

    The default url for TSCO would be:

        https://company_name.domain.com/console

    When the customer tries to use the url https://company_name.domain.com it redirects them to:

       https://company_name.domain.com:8443/console

    This fails since the default url would be:

        https://company_name.domain.com/console   (the port is not needed since it is using the 443 by default)


     


    ANSWER:

    The solution for the issue was to modify the /opt/bmc/BCO/3rd_party/apache2/conf/bco-web file.
    Change the default value:

     

      # Redirect root context to console
    RedirectMatch   ^/$     /console/
      
     
      to 
      
     
      # Redirect root context to console
    RedirectMatch permanent   ^/S    https://company_name.domain.com/console/
      
     
      After making the change reload the httpd:
      
        
      
    ./cpit reload httpd 
      
     
      

     


    Article Number:

    000253374


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles