File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

2 Virt Host : dual personalities?

Dave Elwood
Ranch Hand
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
on a LAN my pc "Host1" runs Apache and Tomcat 4.0 over mod_jk. In server.xml and httpd.conf I must use a virual host named "Host1" and specify my app "App1" in Tomcat.
Now, how about a second virtual host? I have added a virtual host "Host2" which handles "App2". After all of this is it possible to http://Host2/App2 ???
For that I would need a second IP address? Or some kind of alias mechanism. Or not?
But I cannot get http://Host2/App2 to respond.
what's wrong here?
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic