How to redirect DWP catalog URL from http://SBE server:port/myitsbe to http://SBE server

Version 2
    Share:|

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


    PRODUCT:

    BMC Digital Workplace Advanced


    COMPONENT:

    MyIT Service Broker


    APPLIES TO:

    3.5, 18.02, 18.05



    QUESTION:

    How to redirect DWP catalog URL from http://SBE server:port/myitsbe to http://SBE server


    ANSWER:

    You can edit the jetty.xml available in /opt/bmc/digitalworkplace/jetty/etc/jetty.xml and add below appender
     

       <Ref refid="rewriteHandler"> 
              <!-- redirect from the root page to /myitsbe --> 
            <Call name="addRule"> 
              <Arg> 
                <New class="org.eclipse.jetty.rewrite.handler.RedirectRegexRule"> 
                  <Set name="regex">^/?$</Set> 
                  <Set name="replacement">/myitsbe</Set> 
                </New> 
              </Arg> 
            </Call> 
        </Ref>

    Note: Please find updated and original file attached with this KA.

     


    Article Number:

    000155738


    Article Type:

    FAQ/Procedural



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