tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Chandler <a...@chandlerfamily.org.uk>
Subject Re: Mapping everything to Tomcat? (mod_jk)
Date Fri, 08 Jul 2005 06:12:30 GMT
On Friday 08 July 2005 01:53, Luis Torres wrote:
> Hello Everyone, first post to the list  =)
>
> I have a test setup with Solaris 9, Apache 2.043, mod_jk and two tomcats
> (4.131 & JDK 1.5.0)
>
> To have the Tomcats handling the applications, first I used the
> following lines but the problem was that my jsp's where taken by tomcat
> but my images, css and other elements where served by apache, hence my
> images, styles, etc where not found by the server since they are all
> inside /webapps/app_name/images

Use JkAutoAlias /.../webapps or just use a standard Apache Alias directive to 
map the Apache <location> around the webapps <directory> [Not sure what the 
different between JkAutoAlias and plain Alias - I just use the former]

Note also I had to jkmount /*.do to get struts to work.

-- 
Alan Chandler
http://www.chandlerfamily.org.uk

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


Mime
View raw message