File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring Virtual Hosts

 
Frank Hale
Ranch Hand
Posts: 230
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm running Tomcat 5.5.7 and Apache 2.0.53. I have 3 domain names configured using virtual hosts inside Apache, they all point to the same static IP address. I'm trying to configure Tomcat to have 3 virtual hosts which correspond to these domain names, however, no matter what domain name I look at it will have access to each of the other hosts contexts. I'm trying to fix this so that I can deploy apps specific to these hosts but cannot figure out how to properly do this. I've been reading over the documentation but haven't figured out the proper way to make each host only visible to itself and not any of the other virtual hosts.
 
Frank Hale
Ranch Hand
Posts: 230
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, I'm stupid. I had the <Host> configured wrong inside my server.xml file. It's working fine now. I wasn't fully understanding how the hosts were working.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic