You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2007/06/08 08:42:17 UTC
svn commit: r545439 -
/lenya/docu/src/documentation/content/xdocs/docs/1_4/reference/publication/configuration.xml
Author: thorsten
Date: Thu Jun 7 23:42:16 2007
New Revision: 545439
URL: http://svn.apache.org/viewvc?view=rev&rev=545439
Log:
Bug 42050.
Adding documentation about the proxies element and their usage.
Modified:
lenya/docu/src/documentation/content/xdocs/docs/1_4/reference/publication/configuration.xml
Modified: lenya/docu/src/documentation/content/xdocs/docs/1_4/reference/publication/configuration.xml
URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/1_4/reference/publication/configuration.xml?view=diff&rev=545439&r1=545438&r2=545439
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/1_4/reference/publication/configuration.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/docs/1_4/reference/publication/configuration.xml Thu Jun 7 23:42:16 2007
@@ -128,7 +128,7 @@
<p> In short the idea of the following proxy snippet in the configuration is a rewrite of links.
Using proxies will prefix all absolute links (starting with
<strong>"/"</strong>) to absoult urls (the proxy host). </p>
- <source xml:space="preserve"><![CDATA[ <proxies>
+ <source xml:space="preserve"><![CDATA[ <proxies ssl="false" root="http://www.host.com/non-ssl/">
<proxy area="live" ssl="true" url="https://www.host.com/ssl/default"/>
<proxy area="live" ssl="false" url="http://www.host.com/default"/>
<proxy area="authoring" ssl="true" url="https://www.host.com/lenya/default/authoring"/>
@@ -139,6 +139,14 @@
live area and this document is ssl protected then it will be rewritten to
<code>"https://www.host.com/ssl/default{$link}"</code>. Where {$link} is the linked
document.</p>
+ <p>For all links that are not pointing to a document the global proxy rule
+ <code>ssl="false" root="http://www.host.com/no-ssl/</code> is applied. For
+ example a link such as
+ <code>/modules/myModule/somePath/some.thing</code> will be rewritten to
+ <code>
+ http://www.host.com/no-ssl/modules/myModule/somePath/some.thing</code>
+ . In short
+ <code>"/"</code> will be replaced with {proxies/@root}. </p>
<source xml:space="preserve"><![CDATA[</publication>]]></source>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org