Hi, Here's my 'working' set-up for Mod_JK, Tomcat 5 & Apache 2
Making roller the default Tomcat Webapp:
Change roller.xml to ROOT.xml In ROOT.xml the context path should be "", as follows: <Context path="" docBase="ROOT"> Move the roller webapp to the $TOMCAT_HOME/webapps/ROOT/ dir. That should get Roller running at http://localhost:8080/ instead of http://localhost:8080/roller/
Tomcat, mod_jk and Apache 2.0
Get mod_jk configured for your apache installation. From my httpd.conf I have the following: LoadModule jk_module modules/mod_jk.so JkWorkersFile "conf/workers.properties" JkLogFile "logs/mod_jk.log" JkLogLevel error JkMount /* default Then the workers.properties: workers.tomcat_home=/opt/tomcat workers.java_home=$JAVA_HOME ps=/ worker.list=default worker.default.port=8009 worker.default.host=localhost worker.default.type=ajp13 worker.default.lbfactor=1 That should be it. It was a while ago that I did it, but I can't think of any other steps I made. HTH - Richard On 30/01/07, skipjack <[EMAIL PROTECTED]> wrote:
I am using Tomcat 5.5.20 with Apache 2.0.x on a Oracle UB linux and have gotten proxy to work. it's slow but works. when I tried to use ajp and mod_jk I could see the connections going to port 8009 and coming back but for get a 503 error. I need to serve the old site using Drupal and PHP and the best way seem to use mod_jk. any config examples that work would be greatly appreciated. On 1/29/07, Bhaskar Roy <[EMAIL PROTECTED]> wrote: > > Look at our site http://www.icarez.com > We are using ajp to do proxy and it works perfect with tomcat5.5.x, you > may > get problem with lower version of tomcat. > > Bhaskar > > > -----Original Message----- > From: skipjack [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 30, 2007 12:41 PM > To: [email protected] > Subject: Re: mod_rewrite > > I would like to have my roller blog be the ROOT my site but have things > like > my gallery served up by apache. is there a way to have something like > ProxyPass / ajp://127.0.0.1:8009/ > ProxyPass /gallery http://localhost/gallery > > or do I have to use a apache connector? > > On 1/28/07, Keith Sader <[EMAIL PROTECTED]> wrote: > > > > Try this: > > > > > > > > http://www.sader-family.org/roller/page/ksader/20060601#progress_in_small_ch > unks > > > > On 1/28/07, Allen Gilliland <[EMAIL PROTECTED]> wrote: > > > > > > I don't know anything about tomcat mod_rewrite, but you don't actually > > > need to deploy your application at "/roller" if you don't want to. In > > > tomcat if you set the context of the application to empty string, "", > > > then it would be running at http://localhost/ > > > > > > -- Allen > > > > > > > > > Ruslan Valiyev wrote: > > > > Hi all. > > > > > > > > I just installed Roller 3.0 on my Solaris 10 server with Tomcat 5.5. > > > > I have my blog at http://localhost/roller > > > > > > > > Question: how do I make Tomcat "mod_rewrite" the URL to > > > > http://localhost ? > > > > > > > > Thank you in advance. > > > > > > > > > > > > > > > -- > > Keith Sader > > [EMAIL PROTECTED] > > http://www.sader-family.org/roller/page/ksader > > > > > > -- > Programming is art > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.17.11/652 - Release Date: 1/25/2007 > 3:32 PM > > > -- Programming is art
