You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ne...@apache.org on 2007/10/30 15:02:28 UTC

svn commit: r590077 - in /lenya/trunk/src: modules-core/linking/config/cocoon-xconf/globalproxies.xconf pubs/default/config/publication.xml

Author: nettings
Date: Tue Oct 30 07:02:25 2007
New Revision: 590077

URL: http://svn.apache.org/viewvc?rev=590077&view=rev
Log:
added example proxy settings to create a known proxy test environment.
no functional changes, since all proxy-related settings are commented
out by default. web docs should eventually be changed to match the new
example values once they have proven useful.


Modified:
    lenya/trunk/src/modules-core/linking/config/cocoon-xconf/globalproxies.xconf
    lenya/trunk/src/pubs/default/config/publication.xml

Modified: lenya/trunk/src/modules-core/linking/config/cocoon-xconf/globalproxies.xconf
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/linking/config/cocoon-xconf/globalproxies.xconf?rev=590077&r1=590076&r2=590077&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/linking/config/cocoon-xconf/globalproxies.xconf (original)
+++ lenya/trunk/src/modules-core/linking/config/cocoon-xconf/globalproxies.xconf Tue Oct 30 07:02:25 2007
@@ -23,15 +23,17 @@
   <!-- Lenya can rewrite the links to cater to special proxy setups.
     Make sure to update the proxy configuration in publication.xml as well.
     For information about these settings, read
-    http://lenya.zones.apache.org/docu/docs/1_4/tutorials/proxy.html
-    FIXME: Update to lenya.apache.org page as soon as the website is updated
+    http://lenya.apache.org/docu/docs/2_0_x/tutorials/proxy.html
+
+    The example setting below describes a test setup that corresponds to the example 
+    in src/pubs/default/config/publication.xml.
   -->
   <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"/>
+    <proxy ssl="false" url="http://www.example.com/lenya"/>
+    <proxy ssl="true" url="https://www.example.com/lenya"/>
     -->
   </component>
   

Modified: lenya/trunk/src/pubs/default/config/publication.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/config/publication.xml?rev=590077&r1=590076&r2=590077&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/config/publication.xml (original)
+++ lenya/trunk/src/pubs/default/config/publication.xml Tue Oct 30 07:02:25 2007
@@ -104,15 +104,33 @@
   <!-- Lenya can rewrite the links to cater to special proxy setups.
        Make sure to update the GlobalProxies configuration in cocoon.xconf as well.
        For information about these settings, read
-       http://lenya.zones.apache.org/docu/docs/1_4/tutorials/proxy.html
-       FIXME: Update to lenya.apache.org page as soon as the website is updated
+       http://lenya.apache.org/docu/docs/2_0_x/tutorials/proxy.html
+      
+       This example setting simulates the following situation:
+       * A customer wants a company hostname and URLs without Lenya-specific
+         path components.
+       * The server uses name-based virtual hosting with just one IP, i.e.
+         there can only be one SSL vhost, which is shared among several
+         customers. This implies the need for sub-directories in the proxy
+         URL.
+       * "authoring" should be ssl-protected. There is no need for a
+         customer hostname here, since it's not publicly visible.
+       * Any SSL-protected documents in "live" can be handled by the SSL
+         vhost (not using the company hostname is ok in this case).
+         
+       The desired customer hostname is customer.example.com.
+       The SSL vhost is called www.example.com.
+       The Lenya CMS for our customer is reachable as https://www.example.com/lenya/customer/
+       The global proxy for non-publication-specific resources shall be
+       http://www.example.com/lenya.
+       
        -->
   <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://cms.host.com/default"/>
-    <proxy area="authoring" ssl="false" url="http://cms.host.com/default"/>
+    <proxy area="live" ssl="true" url="https://www.example.com/lenya/customer"/>
+    <proxy area="live" ssl="false" url="http://customer..example.com"/>
+    <proxy area="authoring" ssl="true" url="https://www.example.com/lenya/customer"/>
+    <proxy area="authoring" ssl="false" url="http://www.example.com/lenya/customer"/>
     -->
   </proxies>
   



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org