[opencms-dev] Static Export on Multi Sites
Hari
Hari.Subramanian at jvolution.co.uk
Fri Feb 10 10:16:39 CET 2006
Hi,
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.
Cheers
Hari
S.Hariharan
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060210/b5a5edf2/attachment.htm>
More information about the opencms-dev
mailing list