Two Laptop Bag*
The moose likes Tomcat and the fly likes virtual hosting in apache, http request forwarding from apache to tomcat 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 "virtual hosting in apache, http request forwarding from apache to tomcat" Watch "virtual hosting in apache, http request forwarding from apache to tomcat" New topic
Author

virtual hosting in apache, http request forwarding from apache to tomcat

Yogesh pat
Greenhorn

Joined: May 21, 2013
Posts: 7
I have a apache server running on port 80 & a webapp deployed on tomcat 7 running on port 8080 (both on same centOS). I have a domain registered(say www.xyz.com which is pointing to ip). My requirement is when user enters www.xyz.com it should show a page deployed under tomcats webapp (also should be able to login, navigate throughout etc.). For this I have done following in Apache's httpd conf:-


Problem is when I hit www.xyz.com on the browser, it shows expected home page. But when I do login, instead of showing landing page it says- HTTP Status 500 - Session has expired And browser changes url to http://www.xyz.com/webapp/index.iface

Do you have any idea? Thanks in advance!


Regards,
Yogesh Patil
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: virtual hosting in apache, http request forwarding from apache to tomcat
 
Similar Threads
Tomcat 7 digest authentication problem
Vistual Host
Tomcat behind Apache -- How to handle SSL?
ProxyPass from httpd to tomcat
Problems setting up VirtualHost to access a webapp running in a Tomcat/Apache environment