org.opencms.configuration.opencms-importexport.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opencms-test Show documentation
Show all versions of opencms-test Show documentation
OpenCms is an enterprise-ready, easy to use website content management system based on Java and XML technology. Offering a complete set of features, OpenCms helps content managers worldwide to create and maintain beautiful websites fast and efficiently.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE opencms SYSTEM "http://www.opencms.org/dtd/6.0/opencms-importexport.dtd"> <opencms> <importexport> <importexporthandlers> <importexporthandler class="org.opencms.importexport.CmsVfsImportExportHandler"/> <importexporthandler class="org.opencms.module.CmsModuleImportExportHandler"/> </importexporthandlers> <import> <overwrite>true</overwrite> <convert>true</convert> <oldwebappurl>http://localhost:8080/opencms/opencms/</oldwebappurl> <importversions> <importversion class="org.opencms.importexport.CmsImportVersion2"/> <importversion class="org.opencms.importexport.CmsImportVersion3"/> <importversion class="org.opencms.importexport.CmsImportVersion4"/> <importversion class="org.opencms.importexport.CmsImportVersion5"/> <importversion class="org.opencms.importexport.CmsImportVersion6"/> <importversion class="org.opencms.importexport.CmsImportVersion7"/> <importversion class="org.opencms.importexport.CmsImportVersion10"/> </importversions> <immutables> <resource uri="/system/"/> <resource uri="/system/galleries/"/> <resource uri="/system/galleries/download/"/> <resource uri="/system/galleries/externallinks/"/> <resource uri="/system/galleries/htmlgalleries/"/> <resource uri="/system/galleries/pics/"/> <resource uri="/system/login/"/> <resource uri="/system/modules/"/> <resource uri="/system/shared/"/> <resource uri="/system/workplace/"/> <resource uri="/system/workplace/administration/"/> <resource uri="/system/workplace/help/"/> <resource uri="/system/workplace/locales/"/> <resource uri="/system/workplace/resources/"/> <resource uri="/system/workplace/restypes/"/> <resource uri="/system/workplace/scripts/"/> <resource uri="/system/workplace/templates/"/> <resource uri="/sites/"/> </immutables> <principaltranslations> <principaltranslation type="USER" from="Admin" to="cmsadmin" /> <principaltranslation type="GROUP" from="Administrators" to="cmsadministrators" /> </principaltranslations> <ignoredproperties> <property name="module"/> </ignoredproperties> </import> <export/> </importexport> <staticexport enabled="true"> <staticexporthandler>org.opencms.staticexport.CmsOnDemandStaticExportHandler</staticexporthandler> <linksubstitutionhandler>org.opencms.staticexport.CmsDefaultLinkSubstitutionHandler</linksubstitutionhandler> <exportpath>export</exportpath> <exportworkpath>temp</exportworkpath> <exportbackups>2</exportbackups> <defaultpropertyvalue>true</defaultpropertyvalue> <defaultsuffixes> <suffix key=".jpg"/> <suffix key=".gif"/> <suffix key=".png"/> <suffix key=".doc"/> <suffix key=".xls"/> <suffix key=".ppt"/> <suffix key=".pdf"/> <suffix key=".txt"/> <suffix key=".css"/> <suffix key=".zip"/> <suffix key=".swf"/> </defaultsuffixes> <exportheaders> <header>testheader:testvalue</header> <header>testheader2:testvalue2</header> </exportheaders> <requestheaders> <acceptlanguage>en-us,en;q=0.5</acceptlanguage> <acceptcharset>ISO-8859-1,utf-8;q=0.7,*;q=0.7</acceptcharset> <remoteaddr>127.0.0.1</remoteaddr> </requestheaders> <rendersettings> <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix> <vfs-prefix>${CONTEXT_NAME}${SERVLET_NAME}</vfs-prefix> <userelativelinks>false</userelativelinks> <exporturl>http://127.0.0.1:8080${CONTEXT_NAME}/handle404</exporturl> <plainoptimization>true</plainoptimization> <testresource uri="/system/shared/page.dtd"/> <resourcestorender> <regex>/sites/.*</regex> <regex>/system/workplace/commons/styles/.*</regex> <regex>/system/galleries/.*</regex> <regex>/system/modules/.*/resources/.*</regex> <export-rules> <export-rule> <name>rule for site one</name> <description>description of rule for site one</description> <modified-resources> <regex>/sites/site1/.*</regex> <regex>/system/modules/org.opencms.frontend.templateone/.*</regex> </modified-resources> <export-resources> <uri>/sites/site1/</uri> </export-resources> </export-rule> <export-rule> <name>rule for site two</name> <description>description of rule for site two</description> <modified-resources> <regex>/sites/site2/.*</regex> <regex>/system/modules/org.opencms.frontend.templateone/.*</regex> </modified-resources> <export-resources> <uri>/sites/site2/</uri> </export-resources> </export-rule> </export-rules> </resourcestorender> <rfs-rules> <rfs-rule> <name>rule for site default</name> <description>rule for site default</description> <source>/sites/default/</source> <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix> <exportpath>exportRule</exportpath> <exportworkpath>temp</exportworkpath> <exportbackups>2</exportbackups> <related-system-res/> </rfs-rule> <rfs-rule> <name>rule for site one</name> <description>description of rule for site one</description> <source>/sites/site1/</source> <rfs-prefix>site1</rfs-prefix> <exportpath>c:/apache/site1</exportpath> <exportworkpath>c:/apache/site1_temp</exportworkpath> <exportbackups>2</exportbackups> <related-system-res> <regex>/system/modules/org.opencms.frontend.templateone/.*</regex> <regex>/system/modules/org.opencms.frontend.templateone.modules/.*</regex> </related-system-res> </rfs-rule> <rfs-rule> <name>rule for site two</name> <description>description of rule for site two</description> <source>/sites/site2/</source> <rfs-prefix>site2</rfs-prefix> <exportpath>c:/apache/site2</exportpath> <exportworkpath>c:/apache/site2_temp</exportworkpath> <exportbackups>2</exportbackups> <userelativelinks>true</userelativelinks> <related-system-res> <regex>/system/modules/org.opencms.frontend.templateone/.*</regex> <regex>/system/modules/org.opencms.frontend.templateone.form/.*</regex> </related-system-res> </rfs-rule> </rfs-rules> </rendersettings> </staticexport> <usercsvexport> <separator>;</separator> <columns> <column>description</column> <column>lastname</column> <column>firstname</column> <column>email</column> <column>address</column> <column>zipcode</column> <column>city</column> <column>country</column> <column>USERPREFERENCES_workplace-startupsettingssite</column> <column>USERPREFERENCES_workplace-startupsettingslocale</column> <column>password</column> </columns> </usercsvexport> <repositories> <repository name="standard" class="org.opencms.repository.CmsRepository"> <params> <param name="wrapper">org.opencms.file.wrapper.CmsResourceExtensionWrapperJsp</param> <param name="wrapper">org.opencms.file.wrapper.CmsResourceExtensionWrapperXmlContent</param> <param name="wrapper">org.opencms.file.wrapper.CmsResourceExtensionWrapperXmlPage</param> <param name="wrapper">org.opencms.file.wrapper.CmsResourceWrapperSystemFolder</param> <param name="wrapper">org.opencms.file.wrapper.CmsResourceWrapperPropertyFile</param> </params> <filter type="include"> <regex>/</regex> <regex>/__properties/.*</regex> <regex>/sites/.*</regex> <regex>/system/</regex> <regex>/system/__properties/.*</regex> <regex>/system/galleries/.*</regex> <regex>/system/modules/.*</regex> <regex>/system/workplace/.*</regex> </filter> </repository> <repository name="extended" class="org.opencms.repository.CmsRepository"> <params> <param name="wrapper">org.opencms.file.wrapper.CmsResourceExtensionWrapperJsp</param> <param name="wrapper">org.opencms.file.wrapper.CmsResourceExtensionWrapperXmlContent</param> <param name="wrapper">org.opencms.file.wrapper.CmsResourceWrapperXmlPage</param> <param name="wrapper">org.opencms.file.wrapper.CmsResourceWrapperSystemFolder</param> <param name="wrapper">org.opencms.file.wrapper.CmsResourceWrapperPropertyFile</param> </params> <filter type="include"> <regex>/</regex> <regex>/__properties/.*</regex> <regex>/sites/.*</regex> <regex>/system/</regex> <regex>/system/__properties/.*</regex> <regex>/system/galleries/.*</regex> <regex>/system/modules/</regex> <regex>/system/modules/[^/]*/</regex> <regex>/system/modules/[^/]*/__properties/.*</regex> <regex>/system/modules/[^/]*/resources/.*</regex> </filter> </repository> </repositories> </opencms>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy