tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Wynter" <>
Subject RE: 2 VirtualHosts now work, mod_jk not
Date Fri, 22 Aug 2003 14:53:37 GMT
I have long URLs because I am using the Apache Turbine project to develop my
webapps. Here is an article on how to shorten them, which gives me the
impression that i am stuck with these long URLs
ml unless I follow this method.

This URL is a standard Turbine app URL -
/webappname/servlet/webappname/templates/index.vm .

It always seemed to me that the /webappname/servlet/webappname should be
replaceable by Aliases, but it is not clear to me how.

The web.xml supplied with Turbine does not have a mapping to .vm files. Here
it is.

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"


What is not clear is how the JkMount works in the context of the long URLs
for Turbine apps as opposed to the short URLs for the example jsp. Why did I
use the alias name in my Location and JkMount directives? Because the
archive is littered with examples doing just that eg.
According to this thread the solution was not changing what he had in the
JkMount so I cannot but help take it as an example, sorry.

Thanks John, you are the only one who is replying to these.


View raw message