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.

Tomcat question

Discussion in 'General Discussion' started by Zion Ahead, Sep 5, 2009.

  1. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    I applied a servlet to a domain which added the WEB-INF to the public_html folder.

    Typically, this folder would contain a subfolder to house classes, which is linked to either:

    http://domain/servlet/class-name/
    or
    http://domain/servlets/class-name/
    or
    http://domain:8080/class-name/

    I was trying to test the file added ServletsTestPage.class, but no good.

    Also, tomcat is receiving all index requests from apache, so .htaccess Options All Indexes no longer works for production-level folder browsing. I know for security, this is the best method.

    Is there any way I can turn on the web.xml <listings >false<listings> for the client?
     
  2. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Would appreciate help on this
     
  3. big

    big Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    should be /servlets/ClassName
     
Loading...

Share This Page