On 09/01/2010 06:25, Leon Kolchinsky wrote: > Hello All, > > I've installed "Apache httpd +mod_jk and tomcat with multiple virtual hosts" > Used primarily those 2 manuals > http://www.alwayssunny.com/blog/?p=174 This one looks pretty good although I wouldn't use the ApacheConfig listener.
> http://www.howtoforge.com/apache2_tomcat5_mod_jk_p2 I'd ignore this one. > Now I need to deply java application called Sakai > (http://source.sakaiproject.org/release/2.6.1/artifacts/sakai-bin-2.6.1.tgz) That is a 280MB download so it would help if you told us what was in it. > They all talking about downloading the archive into $CATALINA_HOME and > then unpacking the archive. Then start up Tomcat > - > http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.6) > > When I extract sakai-bin-2.6.1.tgz into /srv/myserver029 (Vitual > domain's DocumentRoot) and restart tomcat and apache I'm getting - > "HTTP Status 404 - / CATALINA_HOME != httpd document root I'm not surprised it didn't work. > Here are some of my configs realted to apache httpd+tomcat+virt > domains integration: You are using the same location for httpd document root and Host appBase and web application's docBase. That is never going to work. appBase must *never* be the same as docBase. I suggest you read this: http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html I strongly recommend that http DocumentRoot is never the same as a web applications docBase. You have to be very carefully do to create a whole bunch of security issues. It is much easier just not to do this. I suggest you follow the Tomcat virtual hosting how-to and get that working with Sakai and then worry about adding httpd to the mix. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org