File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes login redirection to localhost Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "login redirection to localhost" Watch "login redirection to localhost" New topic
Author

login redirection to localhost

Michel Dupont
Greenhorn

Joined: Dec 22, 2011
Posts: 3
Hello,

On a server, I had just apache on it.
I decided to install java 6 + tomcat 7 on it for install the application kunagi.war.

All works good. But when I connect with the url http://kunagi:8080/kunagi, there is an error page instead of to be redirected to the connection page of kunagi
When I connect with http://kunagi:8080/kunagi/login.html, the connection page of kunagi displays => so it's good
But when I connect in this page, there is an error page instead of to be redirected to the kunagi's interface
And now if I go to the url http://kunagi:8080/kunagi, I arrived on the kunagi interface.
And When I am on the Kunagi interface, all works good with good redirections

For all, it redirect to http://localhost:8080/...

Have you got an idea ?
Michel Dupont
Greenhorn

Joined: Dec 22, 2011
Posts: 3
No idea ?
Witoslaw Koczewski
Greenhorn

Joined: Jan 02, 2012
Posts: 1
Michel Dupont wrote:For all, it redirect to http://localhost:8080/...


It is a configuration issue. See http://kunagi.org/iss517.html
Michel Dupont
Greenhorn

Joined: Dec 22, 2011
Posts: 3
Thank's a lot ! That's OK for me now. You are a good man
 
Consider Paul's rocket mass heater.
 
subject: login redirection to localhost
 
Similar Threads
Running tomcat apache 5.5 on fedora 14 problem
Tomcat web app configuration error
Installing Tomcat 5.5 in Suse Linux
can connect to localhost but not domain
Jsp page in WEB-INF