[opencms-dev] site alias syntax in opencms-system.xml

Georgi Naplatanov gosho at oles.biz
Sat Apr 10 18:21:42 CEST 2010


Hello Christoph P. Kukulies

you have omitted to open and close "alias" tag properly, look at example 
bellow.

....
<site server="http://ex.mybook.de" uri="/sites/ex/">
             <alias server="http://mybook.intranet.de"/> </site>
     </sites>

Best regards
Georgi

Christoph P. Kukulies wrote:
> What is the correct syntax for defining a site alias
> in opencms-system.xml.
> 
> I tried something like
>    <sites>
>      <workplace-server>http://cms.mybook.de</workplace-server>
>      <default-uri>/sites/kuku/</default-uri>
>      <site server="http://cms.mybook.de" uri="/sites/kuku/"/>
>      <site server="http://other.mybook.de" uri="/sites/otherp/"/>
>      <site server="http://intranet.mybook.de" uri="/sites/intranet/"/>
>      <site server="http://ver.mybook.de" uri="/sites/ver/"/>
>      <site server="http://ex.mybook.de" uri="/sites/ex/">
>            alias="http://mybook.intranet.de" </site>
>    </sites>
> But it gives:
> 
> 10 Apr 2010 17:20:22,750 ERROR [ache.commons.digester.Digester:1635]
> Parse Error
>  at line 43 column 20: Attribute "server" is required and must be
> specified for
> element type "alias".
> 
> 
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list