[opencms-dev] mod_jk (was: instructions for proxying ...)

Martin Kuba makub at ics.muni.cz
Fri Mar 26 14:52:01 CET 2004


Alexander Kandzior wrote:
> Martin, 
> 
> the mod_jk setup you have provided, does it also get rid of the
> "/opencms/opencms/" prefix usually required for all OpenCms URLs?

The prefix is not needed for staticaly exported files,
because they are now directly in the Apache document root.

For dynamic files, like JSPs, it behaves exactly as TomCat alone,
thus using /opencms/opencms/. You can probably remove it
completely by deploying opencms.war to root context in TomCat,
mapping opencms servlet to every URL in web.xml, and setting mod_jk
to forward requests based on *.jsp suffix, but I don't see
this as a necessity, dynamicaly generated pages usually have
long URLs anyway.

Martin
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno             Martin Kuba
Institute of Computer Science    email: makub at ics.muni.cz
Masaryk University             http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ     mobil: +420-603-533775
--------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3415 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040326/0b7ec08c/attachment.bin>


More information about the opencms-dev mailing list