You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Franck Omrane <fm...@alfadimag.com> on 2005/03/08 12:41:16 UTC
lenya 1.2.2 : kupu image drawer problem in a reverse proxy config
. cause in usecase-kupu.xmap
hi,
my config :
linux
j2sdk1.4.2_05.
tomcat 5.0.28
war file of lenya 1.2.2
+ endorsed jars provided with lenya (xalan, xerces)
simple reverse proxy with apache 2 proxypass proxypassreverse
if i don't change proxyname/proxyport in tomcat's server.xml the image
library don't work.
I can't do so because i want to have one domain per publication.
i found the cause in usecase-kupu.xmap :
<!-- We need to use the hole uri scheme i.e. http://servername:port/,
since IE xslt processor
throws an access violation upon loading of xslts from
the internet.
<map:parameter name="import-stylesheet-url"
value="{request:scheme}://{request:serverName}:{request:serverPort}{page-envelope:context-prefix}/kupu/common/kupudrawers/drawer.xsl"/>
if i hard code http://servername:port/ it works fine
but this works only for one publication.
i am sure that there is a simple solution ( fallback ? variable ?)
any ideas ?
thanks