The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

JSP on http://www.vitamin.com.jo do not work ?!!

Discussion in 'General Discussion' started by eyad, Nov 8, 2004.

  1. eyad

    eyad Registered

    Joined:
    Nov 7, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Well, I have a problem in JSP, and I hope that you can help me solving it, the problem as follows:

    We have a Hosting Unix server used to host multiple web sites, the Apache and Tomcat are installed successfully and you can monitor that from http://www.vitamin.com.jo:8080, this is one of the sites we are hosting now on our server, we need to enable JSP on that site, the problem is we need the user to able to upload JSP files through his FTP account using any FTP software such as CuteFTP to his root folder, /home/vitamin/public_html, and as you know, the tomcat default directory is /usr/local/Jakarta/Jakarta-tomcat-5.0.28/webapps.

    When we upload a test file named test1.jsp and try to run it (http://www.vitamin.com.jo/test1.jsp), the JSP code did not executed, and when we go to view source in MS Internet Explorer, the source code of JSP appears, so the tomcat did not recognize that the public_html of vitamin.com.jo is JSP enabled, how can I configure Apache and Tomcat to activate JSP on any account? How we could solve that?!!!

    In different words: "how can I enable or disable JSP (What are the steps) on any site hosted on multi-domains or multi-accounts Unix/Linux server".

    That’s our problem; your prompt response will be highly appreciated.

    P.S. I have root access through SSH to the server, and I can do any thing shortly.

    Regards
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    In WHM you need to "Add Servlet Support" to the domain. It is an option on the left-hand menu.
     
Loading...

Share This Page