• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Redirect not working

    Mango feedback
    3
    11
    4.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      apl
      last edited by

      calling mango with a nonexisting directory, mango will show a "redirect" page. following the provided link one does not get to the real login page.

      call for example > http://127.0.0.1:8080/mango/login.htm

      Arne

      1 Reply Last reply Reply Quote 0
      • F
        ftomiBR
        last edited by

        maybe the same issue here due existing pre-compiled cache

        http://mango.serotoninsoftware.com/forum/posts/list/600.page

        1 Reply Last reply Reply Quote 0
        • A
          apl
          last edited by

          I don't think so, it is not working after cleaning out work - this looks like a mango problem.

          Arne

          1 Reply Last reply Reply Quote 0
          • F
            ftomiBR
            last edited by

            It seems to be working well for me.

            what do you mean when you said:

            does not get to the real login page.

            is it not loading the login page or you couldn't find the real login page?

            It is dinamically created on the server side.

            1 Reply Last reply Reply Quote 0
            • A
              apl
              last edited by

              Root is: http://127.0.0.1:8080/login.htm

              if i try to get http://127.0.0.1:8080/mango/login.htm I got this page:

              Logo

              ???header.changeLanguage???

              Page Not Found!

              The page that you requested was not found. Please check your URL and try your request again, or start again from the login page.

              ©2006-2010 Serotonin Software Technologies Inc., ???footer.rightsReserved???

              The link under "login page" points to http://127.0.0.1:8080/mango/login.htm
              and not to
              http://127.0.0.1:8080/login.htm
              as I would expect.

              Arne

              1 Reply Last reply Reply Quote 0
              • F
                ftomiBR
                last edited by

                Now I see, you right, it should point to your Mango directory.

                try to look at <tomcat>\log\mango.log for some clues

                I would back-up all data and export configuration and reinstall everthing including tomcat.

                1 Reply Last reply Reply Quote 0
                • A
                  apl
                  last edited by

                  No the errror is in 404.jsp,

                  the <a href="login.htm">login page</a> expect you to be in the right directory, which in my case is not the case. So the servlet must figure out what is the right base URL (http://127.0.0.1:8080/) and append "login.html" to that.

                  Arne

                  1 Reply Last reply Reply Quote 0
                  • A
                    apl
                    last edited by

                    Additional Translation does not work on 404.jsp - No message_XX.properties where found.

                    Arne

                    1 Reply Last reply Reply Quote 0
                    • M
                      mlohbihler
                      last edited by

                      Thanks Arne. This page has been fixed up.

                      Best regards,
                      Matthew

                      1 Reply Last reply Reply Quote 0
                      • M
                        mlohbihler
                        last edited by

                        In case you want to test, this is the new 404.jsp content:

                        
                        &lt;%@ include file="/WEB-INF/jsp/include/tech.jsp" %&gt;
                        
                        &lt;br/&gt
                        &lt;span class="bigTitle"&gt;Page Not Found!&lt;/span&gt;&lt;br/&gt
                        &lt;br/&gt
                        The page that you requested was not found. Please check your URL
                        and try your request again, or start again from the &lt;a href=&quot;${pageContext.request.contextPath}/login.htm&quot;&gt;login page</a>.&lt;br/&gt
                        &lt;br/&gt
                        &lt;br/&gt
                        
                        

                        Best regards,
                        Matthew

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post