You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/07/03 15:25:59 UTC
svn commit: r552832 - in /lenya/docu/src/documentation/content/xdocs:
docs/1_4/tutorials/mod_proxy_ajp.xml docs/1_4/tutorials/proxy.xml site.xml
Author: andreas
Date: Tue Jul 3 06:25:58 2007
New Revision: 552832
URL: http://svn.apache.org/viewvc?view=rev&rev=552832
Log:
Updated docs about GlobalProxies configuration
Modified:
lenya/docu/src/documentation/content/xdocs/docs/1_4/tutorials/mod_proxy_ajp.xml
lenya/docu/src/documentation/content/xdocs/docs/1_4/tutorials/proxy.xml
lenya/docu/src/documentation/content/xdocs/site.xml
Modified: lenya/docu/src/documentation/content/xdocs/docs/1_4/tutorials/mod_proxy_ajp.xml
URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/1_4/tutorials/mod_proxy_ajp.xml?view=diff&rev=552832&r1=552831&r2=552832
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/1_4/tutorials/mod_proxy_ajp.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/docs/1_4/tutorials/mod_proxy_ajp.xml Tue Jul 3 06:25:58 2007
@@ -189,28 +189,10 @@
</section>
<section>
- <title>Configuring the Publication for Proxying</title>
+ <title>Configuring Lenya for Proxying</title>
<p>
- When you use a proxy, Lenya has to convert all internal links accordingly.
- Therefore you have to tell the publication about the proxy configuration.
- Open the file <code>pubs/default/config/publication.xml</code> and uncomment
- and modify the <code><![CDATA[<proxies/]]></code> section:
- </p>
- <source xml:space="preserve"><![CDATA[<proxies ssl="false" root="http://lenya.example.com">
- <proxy ssl="false" area="authoring" url="http://cms.example.com"/>
- <proxy ssl="false" area="live" url="http://www.example.com"/>
-</proxies>
-
-<proxies ssl="true" root="https://lenya.example.com">
- <proxy ssl="true" area="authoring" url="https://cms.example.com"/>
- <proxy ssl="true" area="live" url="https://www.example.com"/>
-</proxies>
- ]]></source>
- <p>
- After re-deploying the publication and restarting your servlet container,
- you should be able to access the
- authoring environment of the default publication at the URL
- <a href="http://cms.example.com/">http://cms.example.com/</a>.
+ Now follow the steps described in the final sections of the
+ <a href="site:mod_proxy_14">mod_proxy tutorial</a>.
</p>
</section>
Modified: lenya/docu/src/documentation/content/xdocs/docs/1_4/tutorials/proxy.xml
URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/1_4/tutorials/proxy.xml?view=diff&rev=552832&r1=552831&r2=552832
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/1_4/tutorials/proxy.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/docs/1_4/tutorials/proxy.xml Tue Jul 3 06:25:58 2007
@@ -178,15 +178,31 @@
When you use a proxy, Lenya has to convert all internal links accordingly.
Therefore you have to tell the publication about the proxy configuration.
Open the file <code>pubs/default/config/publication.xml</code> and uncomment
- and modify the <code><![CDATA[<proxies/]]></code> section:
+ and modify the <code><![CDATA[<proxy/]]></code> elements:
</p>
- <source xml:space="preserve"><![CDATA[<proxies ssl="false" root="http://lenya.example.com">
- <proxy ssl="false" area="authoring" url="http://cms.example.com"/>
- <proxy ssl="false" area="live" url="http://www.example.com"/>
- <proxy ssl="true" area="authoring" url="https://cms.example.com"/>
- <proxy ssl="true" area="live" url="https://www.example.com"/>
-</proxies>
- ]]></source>
+ <source xml:space="preserve"><![CDATA[<proxy ssl="false" area="authoring" url="http://cms.example.com"/>
+<proxy ssl="false" area="live" url="http://www.example.com"/>
+<proxy ssl="true" area="authoring" url="https://cms.example.com"/>
+<proxy ssl="true" area="live" url="https://www.example.com"/>]]></source>
+ </section>
+
+ <section>
+ <title>Configuring the Global Proxies</title>
+ <p>
+ The application-wide (publication independent) proxies are configured in
+ <code>WEB-INF/cocoon.xconf</code>. Look for the declaration of the <code>GlobalProxies</code>
+ service and update this entry:
+ </p>
+ <source xml:space="preserve"><![CDATA[<component logger="lenya.proxy"
+ role="org.apache.lenya.cms.linking.GlobalProxies"
+ class="org.apache.lenya.cms.linking.impl.GlobalProxiesImpl">
+ <proxy ssl="false" url="http://cms.host.com"/>
+ <proxy ssl="true" url="https://cms.host.com"/>
+</component>]]></source>
+ </section>
+
+ <section>
+ <title>Testing the Settings</title>
<p>
After re-deploying the publication and restarting your servlet container,
you should be able to access the
Modified: lenya/docu/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/site.xml?view=diff&rev=552832&r1=552831&r2=552832
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/site.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/site.xml Tue Jul 3 06:25:58 2007
@@ -146,7 +146,7 @@
</newResourceType>
<setupide href="setupide/index.html" label="Setting up Eclipse"/>
<proxy label="Proxying">
- <proxy href="proxy.html" label="mod_proxy"/>
+ <mod_proxy_14 href="proxy.html" label="mod_proxy"/>
<mod_proxy_ajp href="mod_proxy_ajp.html" label="mod_proxy_ajp"/>
</proxy>
<bestpractises href="bestpractises.html" label="Best Practises"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org