[opencms-dev] Static Export of Multi Sites

Hari Hari.Subramanian at jvolution.co.uk
Fri Feb 10 13:20:30 CET 2006


Hi

 

Since the last post there has been some progress and now when site two
is published it gets the published resources from site one.  All the
non-template resources are exported out of site two into webapps/site
two but the template resources are acquired from site one and exported
into webapps/site one.  We tested this by creating a page in site two
which was not present in site one and static export did not export this
file.  We can only conclude that static export of site two acquired the
pages from site one.  

 

Attached below is my last post on this issue.

 

We have 3 sites within one installation of Opencms 6.0.4.  i.e. Site
One, Site two and Site three.  The requirement is to static publish Site
One and Site two to separate folders within Tomcat/webapps.  Static
export on site three is set to false.  Everything works fine except for
one issue.  The online version of Site two points to the online version
of site one.  And in the webapps folder there is only one folder i.e.
Site One.  Is this due to Site one being set as the default-uri.  Can
Static export export sites to separate folders within webapps?

 

I have attached the sites configuration in opencms-system.xml and
rfs-rules within render-settings in opencms-exportimport.xml            

 

            <sites>

 
<workplace-server>http://192.168.100.00:8090</workplace-server>

                                    <default-uri>/sites/Site
One/</default-uri>

                                    <site
server="http://192.168.100.00:8090" uri="/sites/Site One/"/>

                                    <site
server="http://192.168.100.00:8091" uri="/sites/Site two/"/>

                                    <site
server="http://192.168.100.00:8092" uri="/sites/Site three/"/>


            </sites>

 

 

        <rfs-rule>

            <name>Site One</name>

            <description>This is the rfs-rule for Site One</description>


            <source>/sites/Site One/.*</source>

            <rfs-prefix>${CONTEXT_NAME}/Site One</rfs-prefix>

            <exportpath>C:\Tomcat 5.5\webapps\Site One</exportpath>

            <userelativelinks>false</userelativelinks>            

            <related-system-res>

                <regex>/system/galleries/.*</regex>

                <regex>/system/modules/com.jvolution.Site/.*</regex>

            </related-system-res>

      </rfs-rule>

        <rfs-rule> 

            <name>Site two</name> 

            <description>This is the rfs-rule for Site two</description>

            <source>/sites/Site two/.*</source>

            <rfs-prefix>${CONTEXT_NAME}/Site two</rfs-prefix>

            <exportpath>C:\Tomcat 5.5\webapps\Site two</exportpath>

            <userelativelinks>false</userelativelinks>

            <related-system-res>

                <regex>/system/galleries/.*</regex>

                <regex>/system/modules/com.jvolution.Site/.*</regex>

            </related-system-res>

        </rfs-rule>

      </rfs-rules>

 

Thanks for your help.

 

S.Hariharan 

JVolution Ltd

Tel : (+44) 20 8714 4488

Mobile:  07915 082070

Email: Hari at jvolution.co.uk <mailto:Hari at jvolution.co.uk> 

www.Jvolution.co.uk <http://www.Jvolution.co.ukm> 

 

This email and any attachments or links are confidential and intended
only for the individual to whom it is addressed. If you are not the
intended recipient, any use or dissemination of this communication is
strictly prohibited and you are requested to notify the sender
immediately and then delete this email. JVolution does not accept
liability for any data corruption, unauthorised amendment, viruses and
unforeseen delays to which this email may be subject. This email and any
attachments or links are opened at your own risk. JVolution can take no
responsibility for the consequences of actions carried out as a result
of this e-mail.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060210/bb544342/attachment.htm>


More information about the opencms-dev mailing list