I don't quite understand the documentation on

[url]https://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/5.4/apidocs/info/magnolia/cms/beans/config/HostBasedVirtualURIMapping.html[/url]

regarding the [b]toURI[/b] node or property.

Is the [b]toURI[/b] on the upper level a content node or a property? I mean, 
how can it have a value while it also has the mappings node as a child?

[code]
Simple VirtualURI mapping that can forward to a different url depending on the 
request host name. The "mappings" node contains a list of nodes with "host" and 
"toURI" properties. See below for a sample configuration:
 [] virtualURIMapping
    [] default
     - class            
info.magnolia.cms.beans.config.HostBasedVirtualURIMapping
     - fromURI          /
     - toURI            redirect:/.magnolia/pages/adminCentral.html
       [] mappings
        - [] com
          - host      www.acme.com
          - toURI     forward:/acme/en/index.html
        - [] de
          - host      www.acme.de
          - toURI     forward:/acme/de/index.html
[/code]

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=3356fb3c-40e2-441e-b51c-1be919bf8ed1


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to