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

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Sat Apr 10 17:38:37 CEST 2010


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



More information about the opencms-dev mailing list