On 11/12/05, Renaud Richardet <[EMAIL PROTECTED]> wrote:
> After using only Jetty for a long time, I gave Tomcat a new try
> (5.0.28), had to copy a few jars in Tomcat's
> endorsed libs, ([EMAIL PROTECTED]:/opt/tomcat-5.0.28/bin$ cp
> ~/src/wyona/nj/cocoon/lib/endorsed/* . ) and here we go.
>
> There are a few errors, though:
> * Tomcat does some wrong redirects, eg to /null/default/authoring/index.html
> * Sometimes, a /lenya part in the url is missing (eg
> http://localhost:8080/default/authoring/index.html instead of
> http://localhost:8080/lenya/default/authoring/index.html)
>
> Is there a relatively easy way to fix these errors? If yes, I think we
> should do it soon to keep in synch with Tomcat, as it is the preffered
> servlet container for production. WDYT?

My dev system is Jetty =
/pub/area/docpath.html

Production is Jetty behind Apache (with URL rewriting)
/docpath.html <-> /pub/area/docpath.html

Production was Tomcat behind Apache (with URL rewriting)
/docpath.html"  <-> /lenya/pub/area/docpath.html

Every time I move the pub between systems, I must manually change
$root in several places in every XMAP (publication-sitemap.xmap + 5
Usecases) to fix the menus, form returns, and images.

I would like a global variable kept in publication.xconf for "Start of
URL Path" to be used in every XMAP.  It should be available as:
{page-envelope:publication-urlstart}
so it can be passed to XSLs.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to