This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Configuring home dir for webapps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Configuring home dir for webapps" Watch "Configuring home dir for webapps" New topic
Author

Configuring home dir for webapps

Husain Hakimuddin
Greenhorn

Joined: Aug 26, 2006
Posts: 5
Hi,

I'm on Apache/2.0.59 (Win32) mod_jk/1.2.21 Tomcat 5.5.9 and having a hard time configuring home or Root dir for each domain.

For eg. domain1.com works as http://domain1.com/dir1, but not directly. How do I set dir1 as domain1's root?

I tried the apache <virtualHost> directive, which correctly redirects but then the jsp app doesn't work, contents of index.jsp are displayed in the browser.

I also tried several <host> combinations in server.xml, but nothing worked.

Any help greatly appreciated. Thanks
 
GeeCON Prague 2014
 
subject: Configuring home dir for webapps