Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2009
    Location
    Abohar/Mohali, Punjab
    Posts
    12

    help me yet again!!!!

    Hi friends

    I have a website that is made in JSP using TomCat on Windows. The site opens up at http://www.mywebsite.org/myApplicationFolder and I want to open it directly at http://www.mysite.org. I tried to make change in the xml file where the DocBase is given but that did not work.

    Kindly help!!!!

    Thanks in advance!!!!!!

    Parminder Singh

  2. #2
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    16,087
    I'm not familiar with TomCat but I would think you could just move the contents of that folder to the root directory and that would do what you wanted.
    Michael Denney - MDDHosting LLC
    New shared plans for 2016! Check them out!
    Highly Available Shared, Premium, Reseller, and VPS
    http://www.mddhosting.com/

  3. #3
    Join Date
    Apr 2001
    Location
    Paradise
    Posts
    11,868
    Try using mod_rewrite rules to do that or mod_proxy, you should be able to do it with any of those.
    Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
    LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Email/Helpdesk Support
    Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
    DowntownHost LLC - In Business since 2001- West/Center/East USA - Netherlands - Singapore

  4. #4
    Join Date
    Jul 2009
    Location
    Abohar/Mohali, Punjab
    Posts
    12
    Friends,

    I made a change in the context.xml file from <Context path="examplesite/"> to <Context path="">

    I am able to see the website on the root now. http://localhost:8081/

    The problem is that how do I deploy the website using WAR file now? I can open the tomcat manager now at http://localhost:8081/manager/html/. Earlier it used to get open at http://localhost:8081/manager/. My website is listed at the top of list in manager and it entry comes as /. If I try to deploy my examplesite folder named examplesite, it gives an error.

    How will I deploy the folder? Am I in the right direction?

    Please help!!!

    Thanks in advance.

    Regards
    Parminder Singh

  5. #5
    Join Date
    Apr 2009
    Posts
    643
    I'm not guru in this but I assume you will be able to find some specific forums and get that issue answered there?
    ASPnix Web Hosting - ASP.NET, MS SQL, AJAX, Hyper-V
    Microsoft Hosting and Virtualization

  6. #6
    Join Date
    Jul 2009
    Location
    Abohar/Mohali, Punjab
    Posts
    12
    It would be great if someone shows me a way to such a forum or discussion.

  7. #7
    Join Date
    Apr 2009
    Posts
    643
    Quote Originally Posted by parmindersinghaziz View Post
    It would be great if someone shows me a way to such a forum or discussion.
    Try to ask about that on the devshed forums. Several times I have seen some people there discussing related issues
    ASPnix Web Hosting - ASP.NET, MS SQL, AJAX, Hyper-V
    Microsoft Hosting and Virtualization

Posting Permissions

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