David Crane wrote:
...
>
> I also have this mod_jk directive, which would act on either version of
> the URL:
>
> JkMount /* worker1
>
André Warnier wrote:
> Considering the above directive, then why do you have, at all :
> - an Apache httpd in front of your Tomcat ? Since you are attempting to
> pass everything to Tomcat anyway, why not save yourself the
> complication, remove httpd, and have Tomcat listening directly on port
> 80 with it's HTTP Connector ?
>
I actually do have JkUnMount directives, but I hadn't listed them in my
original post, since I doubt they contributed to the problem. They look like
this:
JkMount /* worker1
JkUnMount /images/* worker1
JkUnMount /js/* worker1
...
> - and if you have some reason to keep an Apache httpd in front, then
> with the above directive you do not need your RewriteRule.
> Just let the original URL go through.
I'd prefer to use RewriteRule so that these "vanity URLs" are decoupled from
the application itself. That /crate URL is one of many that mount point into
/donors/redeem_gift_certificate.html. The same pattern happens for quite a few
of our pages. It's nice not to have to do a full application release just to
add another of these vanity URLs,.
Thanks,
David Crane
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]