Hello Mark,

Thanks for the link -
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
I don't think that you've read my configs well.

CATALINA_HOME != httpd document root
That's my case!

Where did you got the info that it isn't so?

appBase and docBase are also different!

And virt. hosts are actually working (please read what I've written).

It must be something with "Configuring my Contexts" as per manual.
My appBase is also not under CATALINA_HOME.

Sakai is similar to moodle in some way.

I'm sorry that it's 250M but I didn't write it.
I've been asked to install it on virt. domains....

Any help please?

On Sat, Jan 9, 2010 at 10:46 PM, Mark Thomas <ma...@apache.org> wrote:
> 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to