DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38
957>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38957
a>
------- Additional Comments From josias.thoeny wyona.org
2006-03-14 07:46 -------
The problem probably is that internal links in Lenya 1.2
contain the context
path of the servlet container.
That means if Lenya runs with an empty context path (like
with Jetty), a correct
internal link looks like this (as stored in the XML file):
<a
href="/default/authoring/features.html">Featu
res section</a>
But in Tomcat, where Lenya is normally deployed under the
/lenya context, and
internal link would look like this:
<a
href="/lenya/default/authoring/features.html">
;Features section</a>
The internal links of the default publication contain no
context path, so they
don't work with Tomcat.
However, if you create new links when running in Tomcat,
they will contain the
/lenya prefix and everything should be working.
This means one has to migrate the content when moving it
from Jetty to Tomcat or
vice versa. This is bad, but it is unlikely to be fixed in
Lenya 1.2.x. It has
been fixed already in Lenya 1.4-dev (links don't contain
the context prefix
anymore).
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe lenya.apache.org
For additional commands, e-mail: dev-help lenya.apache.org
|