Redirect not working
-
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
-
maybe the same issue here due existing pre-compiled cache
http://mango.serotoninsoftware.com/forum/posts/list/600.page
-
I don't think so, it is not working after cleaning out work - this looks like a mango problem.
Arne
-
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.
-
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
-
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.
-
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
-
Additional Translation does not work on 404.jsp - No message_XX.properties where found.
Arne
-
Thanks Arne. This page has been fixed up.
-
In case you want to test, this is the new 404.jsp content:
<%@ include file="/WEB-INF/jsp/include/tech.jsp" %> <br/> <span class="bigTitle">Page Not Found!</span><br/> <br/> The page that you requested was not found. Please check your URL and try your request again, or start again from the <a href="${pageContext.request.contextPath}/login.htm">login page</a>.<br/> <br/> <br/>