File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Configuring home dir for webapps

Husain Hakimuddin

Joined: Aug 26, 2006
Posts: 5

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. works as, 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
I agree. Here's the link:
subject: Configuring home dir for webapps
jQuery in Action, 3rd edition