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/05/28 09:58:51 UTC
svn commit: r542142 -
/lenya/docu/src/documentation/content/xdocs/docs/1_4/reference/publication/configuration.xml
Author: thorsten
Date: Mon May 28 00:58:50 2007
New Revision: 542142
URL: http://svn.apache.org/viewvc?view=rev&rev=542142
Log:
Explaining in short the concept of proxies in the publication configuration
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=542142&r1=542141&r2=542142
==============================================================================
--- 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 Mon May 28 00:58:50 2007
@@ -121,17 +121,24 @@
(e.g. <code>lenya/pubs/default</code>).
</p>
<source xml:space="preserve"><![CDATA[ <content-dir src="/home/USERNAME/data/default"/>]]></source>
-
<p>
The optional <code>proxies</code> section contains the proxy configuration
- of this publication. For more information see <a href="site:proxying">Proxying</a>.
+ of this publication. For more information see <a href="site:proxying">Proxying</a> and the <a href="site:mod_proxy_and_lenya">turorial</a>.
</p>
+ <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>
<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"/>
<proxy area="authoring" ssl="false" url="http://www.host.com/lenya/default/authoring"/>
</proxies>]]></source>
+ <p>Since we have the concept of areas we define the proxy per area and for the different
+ types of pages (ssl protected or not). For example if a link points to a document in the
+ 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>
<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