You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Leonard <va...@vortex.co.za> on 2009/04/08 15:07:02 UTC

Apache / Tomcat - Mod_jk

Hi,

I have am having some trouble getting my Apache/Tomcat/Mod_jk setup to work.

In short, the folder I specify in my Apache Vhost is not accessible. I 
have added the following
to my vhost: JkMount /vhost1/*  vhost1Worker

I can access the domain itself, but when I try accessing the domain with 
/vhost1 I get a 404
error.

I am running Apache/2.2.3, Tomcat 6.0.18 and using the Tomcat 
Connectors-1.2.28-src.
I can access all my Apache Vhosts perfectly via http://domainname/ and 
the documentroot
for my vhosts is: /web/username/www
I can access my Tomcat webapp fine via http://serverip:8080/vhost1 or 
using the domain name,
my webapp is stored in /usr/apache-tomcat-6.0.18/webapps/vhost1

Any help with this will be much appreciated as I have searched and 
searched but dont seem to
find a working solution. Please advise if more info is required.

Thank you,

Leo.



Re: Apache / Tomcat - Mod_jk

Posted by Leonard <va...@vortex.co.za>.
Hi André

That's got to be the easiest fix ever. Thanks, that worked!


André Warnier wrote:
> Leonard wrote:
>> Hi,
>>
>> I have am having some trouble getting my Apache/Tomcat/Mod_jk setup 
>> to work.
>>
>> In short, the folder I specify in my Apache Vhost is not accessible. 
>> I have added the following
>> to my vhost: JkMount /vhost1/*  vhost1Worker
> I have not read the rest, but just add another line
> JkMount /vhost1  vhost1Worker
> and see if that solves it.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

Re: Apache / Tomcat - Mod_jk

Posted by André Warnier <aw...@ice-sa.com>.
Leonard wrote:
> Hi,
> 
> I have am having some trouble getting my Apache/Tomcat/Mod_jk setup to 
> work.
> 
> In short, the folder I specify in my Apache Vhost is not accessible. I 
> have added the following
> to my vhost: JkMount /vhost1/*  vhost1Worker
I have not read the rest, but just add another line
JkMount /vhost1  vhost1Worker
and see if that solves it.



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


Re: Apache / Tomcat - Mod_jk

Posted by gianc64 <gi...@yahoo.it>.
In JkMount /vhost1/*  vhost1Worker

vhost1 is the application context .

gianc64

Leonard wrote:
> Hi,
>
> I have am having some trouble getting my Apache/Tomcat/Mod_jk setup to 
> work.
>
> In short, the folder I specify in my Apache Vhost is not accessible. I 
> have added the following
> to my vhost: JkMount /vhost1/*  vhost1Worker
>
> I can access the domain itself, but when I try accessing the domain 
> with /vhost1 I get a 404
> error.
>
> I am running Apache/2.2.3, Tomcat 6.0.18 and using the Tomcat 
> Connectors-1.2.28-src.
> I can access all my Apache Vhosts perfectly via http://domainname/ and 
> the documentroot
> for my vhosts is: /web/username/www
> I can access my Tomcat webapp fine via http://serverip:8080/vhost1 or 
> using the domain name,
> my webapp is stored in /usr/apache-tomcat-6.0.18/webapps/vhost1
>
> Any help with this will be much appreciated as I have searched and 
> searched but dont seem to
> find a working solution. Please advise if more info is required.
>
> Thank you,
>
> Leo.
>
>
>


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