<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
    </div>
    <blockquote
cite="mid:99AF83737710F246BD5C8199E9195A4D2BF7A0F2@S-DC-ESTC03-B.net1.cec.eu.int"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Tahoma","sans-serif";
        color:windowtext;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US">Hello everybody,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US">We are using Icinga for 2 years. We access
            Icinga server [v1.8.1 on a RHEL6 64 bits] through intranet
            with a URL of this kind:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US"><a moz-do-not-send="true"
              href="http://internal/icinga">http://internal/icinga</a>
            and
            <a moz-do-not-send="true" href="http://internal/icinga-web">http://internal/icinga-web</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US">Few days ago I decided to extend this service
            to internet with Icinga-Mobile. For this, we requested a
            Reverse Proxy Mapping to our network team.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US">So they have mapped Internet URL
            <a moz-do-not-send="true"
              href="https://external/departmentXXX/unitYYY">https://external/departmentXXX/unitYYY</a>
            on intranet URL
            <a moz-do-not-send="true" href="http://internal">http://internal</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US">When I try to use Icinga Classic on
            <a moz-do-not-send="true"
              href="https://external/departmentXXX/unitYYY/icinga">https://external/departmentXXX/unitYYY/icinga</a>
            everything works fine (except a small bug with images in the
            dropdown list of commands).<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US">When I try to use Icinga Mobile on
            <a moz-do-not-send="true"
              href="https://external/departmentXXX/unitYYY/icinga-mobile">https://external/departmentXXX/unitYYY/icinga-mobile</a>
            there is an error with Request Failed and list of Hosts and
            Services is empty.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US">So I tried to access
            <a moz-do-not-send="true"
              href="https://external/departmentXXX/unitYYY/icinga-web">https://external/departmentXXX/unitYYY/icinga-web</a>
            and I received a message “Your login session has gone away,
            press ok to login again!”<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US">But if I click OK, I’m redirected to
            <a moz-do-not-send="true" href="https://external/icinga-web">https://external/icinga-web</a>
            instead of <a moz-do-not-send="true"
              href="https://external/departmentXXX/unitYYY/icinga-web">
              https://external/departmentXXX/unitYYY/icinga-web</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US">I already tried to change this setting (found
            here <a class="moz-txt-link-freetext" href="https://dev.icinga.org/issues/1017">https://dev.icinga.org/issues/1017</a>)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New"" lang="EN-US"><setting
            name="appkit.logout_path"><a moz-do-not-send="true"
              href="http://myexternal.com/icinga-web%3c/setting"><span
                style="color:windowtext;text-decoration:none"><u><span
                    style="color:blue">https://external/departmentXXX/unitYYY/icinga-web</span></u></span></setting</a>><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US">But the result is the same.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Tahoma","sans-serif""
            lang="EN-US">Do you know how to fix this issue ?<o:p></o:p></span></p>
        <br>
      </div>
    </blockquote>
    You will probably have to ask your network staff to add some rewrite
    rules on the reverse proxy.<br>
    For instance, if the backend sends data containing <a class="moz-txt-link-freetext" href="http://internal/*">http://internal/*</a>
    then, rewrite to: <a class="moz-txt-link-freetext" href="https://external/departmentXXX/unitYYY/*">https://external/departmentXXX/unitYYY/*</a><br>
    <br>
    if you are able to add another httpd on your icinga server, you can
    configure it yourself to rewrite to the external URL and ask the
    network staff to use that as the backend.<br>
    <br>
    <br>
    -BR<br>
    Henrik Schewe<br>
    <br>
  </body>
</html>