tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: mod_jk integration
Date Wed, 19 Feb 2003 08:39:17 GMT
For Apache 1.3.x, you need to move 'mod_rewrite' below 'mod_jk' in the
AddModule list.  Alternatively, the [PT] option may work (but I haven't
tried it).

"Alexander Czernay" <listen@czernay.com> wrote in message
news:3E52674E.3000006@czernay.com...
> Hi Lajos,
>
> thanks for your help. I read through your pages and it sounds to me like
> I have to use the mod_rewrite technique to accomplish my goal. But I'm
> afraid I don't know the rewrite mechanism enough to get it going.
>
> It would be great, if you could help me again with that.
>
> This is kind of a special case, as I set up Cocoon to serve two sites
> from the same directory, using different XSLTs for the different design.
>
> The structure, defined in my sitemap, is mainly like this:
> /cocoon - just the usual one
> /cocoon/k8 - this is bundling the two sites
> /cocoon/k8/alexander - this is the first site to be mapped to one domain
> /cocoon/k8/moritz - this is the second site to be mapped to the other
domain
>
>
> Maybe this is completly wrong, so if I should have done it another way,
> please tell me.
>
> Thanks for any help,
>
> Alexander
>
> Lajos wrote:
> > Hi Alexander -
> >
> > There are several ways you can do this - see my Cocoon notes at
> > http://www.galatea.com/flashguides/cocoon-tips-2.xml (or my book ;) ).
> > Probably the best is simply to make the cocoon webapp your default
> > context in server.xml:
> >
> > <Context path="" docBase="cocoon" debug="0"/>
> >
> > Regards,
> >
> > Lajos
> >
> >
> > Alexander Czernay wrote:
> >
> >> I'm trying to integrate my servlet (Apache Cocoon 2.0.4), running
> >> inside Tomcat 4.0.4 into my Apache 1.36. This works perfectly well,
> >> but I'd like to get rid of the /cocoon/ part in the URL, so I can map
> >> the whole Cocoon based app directly to my domain.
> >>
> >> I tried some Alias commands and some MountJk commands, but that
> >> doesn't work, as it seems to me like Apache doesn't pass the whole
> >> path to Tomcat, thus Tomcat doesn't search inside its /cocoon/ path,
> >> but rather in its root path - that obviously doesn't work.
> >>
> >> Any hints?
> >>
> >> Alexander
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >>
> >
> >
>
>
> --
> _________________________________
> Alexander Czernay
> IT-Consulting & Media Development
>
> fon +49-40-41096742
> fax +49-40-41096743
> icq 4773650
>
> alexander@czernay.com
> www.czernay.com
> _________________________________




---------------------------------------------------------------------
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