Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Redirect 8080 requests to 80 port - Tomcat problem at cPanel server

Discussion in 'General Discussion' started by sh4ka, Jan 31, 2008.

  1. sh4ka

    sh4ka Well-Known Member

    May 12, 2005
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider

    Yesterday I installed tomcat on a RHEL 4 + cPanel and httpd 2.0.63 server using easyapache3, process was ok, jsp pages are loading fine using , but servlets, are not working using, how ever, if I load it loads the servlet perfect.

    I read something about redirecting all traffict from port 80 to 8080, but you know.. this is a shared server, and that would affect all customers on the server.

    So, mod_jk seems to be the only solution, now I read many documents over the web, but no one seems to be working to configure apache2 and mod_jk that is installed using easyapache3 script.

    In my httpd.conf file, i have this:

    LoadModule jk_module modules/
    Include "/usr/local/apache/conf/jk.conf"
    At jk.conf i have this content:

    JkWorkersFile /usr/local/jakarta/tomcat/conf/
    JkLogFile /usr/local/apache/logs/mod_jk.log
    JkLogLevel info
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
    JkRequestLogFormat "%w %V %T"
    What configuration should I add (and where) to accessing Tomcat on Port 80: From to

    Any suggestions are appreciated.


Share This Page