Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2003
    Location
    Hanoi
    Posts
    4,306

    Tomcat and add-on domain?

    with the main domain, Tomcat is working very well, but for add-on domain, Tomcat is not working.

    Let's say, the main domain is main.com
    the add-on domain is addon.com

    So, all the JSP files start by "main.com" can be proccessed without any problem, even http://main.com/addon/info.jsp

    but whenever I start with addon.com http://addon.com/info.jsp, it shows me the JSP code.

    How can I have Tomcat working with add-on domains?

    Thanks

  2. #2
    Join Date
    Aug 2002
    Location
    Superior, CO, USA
    Posts
    633
    Check the docs for information on virtual hosts. I have about 20 defined for my site and it works great. The docs for the Host configuration are at http://jakarta.apache.org/tomcat/tom...nfig/host.html (Tomcat 5.x) and http://jakarta.apache.org/tomcat/tom...nfig/host.html (Tomcat 4.1.x)

  3. #3
    Join Date
    Oct 2003
    Location
    Hanoi
    Posts
    4,306
    Thanks for replying. I have edited server.xml and it's working fine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •