Opencms-system.xml
From OpenCms Wiki
(Difference between revisions)
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | This file | + | [[Category:Configuration_Files]] |
+ | This file is one of the [[:Category:Configuration_Files|core configuration files]] for OpenCms. | ||
The settings most likely to need modification are: | The settings most likely to need modification are: |
Latest revision as of 14:21, 16 April 2014
This file is one of the core configuration files for OpenCms.
The settings most likely to need modification are:
- Available languages
The <localesconfigured> node, and maybe also the <localesdefault> node
- The site(s) (URLs, protocols and mappings to VFS folders)
The <sites> node
- E-mail
The <mail> node
- Versioning
The <versionhistory> node
Example file
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE opencms SYSTEM "http://www.opencms.org/dtd/6.0/opencms-system.dtd"> <opencms> <system> <internationalization> <localehandler class="org.opencms.i18n.CmsDefaultLocaleHandler"/> <localesconfigured> <locale>zh</locale> <locale>en</locale> <locale>de</locale> </localesconfigured> <localesdefault> <locale>zh</locale> <locale>en</locale> <locale>de</locale> </localesdefault> </internationalization> <mail> <mailfrom>nobody@nowhere.com</mailfrom> <mailhost name="my.smtp.server" protocol="smtp" user="username" password="secure"/> <mailhost name="alternative.smtp.server"/> <mailhost name="another.alternative.smtp.server"/> </mail> <scheduler /> <versionhistory enabled="true" count="10"/> <resourceinit> <resourceinithandler class="org.opencms.file.CmsBackupResourceHandler"/> </resourceinit> <requesthandlers /> <passwordhandler class="org.opencms.security.CmsDefaultPasswordHandler"> <encoding>UTF-8</encoding> <digest-type>MD5</digest-type> <param name="compatibility.convert.digestencoding">false</param> </passwordhandler> <sites> <workplace-server>http://localhost:8080</workplace-server> <default-uri>/sites/default/</default-uri> <site server="http://localhost:8080" uri="/sites/default/"/> <site server="http://192.168.1.88:9000" uri="/sites/web/"/> </sites> <runtimeproperties> <param name="compatibility.support.oldlocales">false</param> <param name="compatibility.support.webAppNames">/opencms/opencms/</param> </runtimeproperties> <runtimeclasses> <runtimeinfo class="org.opencms.db.CmsDbContextFactory" /> </runtimeclasses> <defaultusers> <user-admin>Admin</user-admin> <user-guest>Guest</user-guest> <user-export>Export</user-export> <group-administrators>Administrators</group-administrators> <group-projectmanagers>Projectmanagers</group-projectmanagers> <group-users>Users</group-users> <group-guests>Guests</group-guests> </defaultusers> <defaultcontentencoding>UTF-8</defaultcontentencoding> <memorymonitor> <maxusagepercent>90</maxusagepercent> <log-interval>600</log-interval> <email-interval>43200</email-interval> <warning-interval>43200</warning-interval> </memorymonitor> <flexcache> <cache-enabled>true</cache-enabled> <cache-offline>false</cache-offline> <maxcachebytes>8000000</maxcachebytes> <avgcachebytes>6000000</avgcachebytes> <maxentrybytes>400000</maxentrybytes> <maxkeys>2000</maxkeys> </flexcache> <http-authentication> <browser-based>true</browser-based> </http-authentication> <resultcache> <keygenerator>org.opencms.db.CmsCacheKey</keygenerator> <size-users>64</size-users> <size-groups>64</size-groups> <size-usergroups>256</size-usergroups> <size-projects>32</size-projects> <size-resources>8192</size-resources> <size-resourcelists>256</size-resourcelists> <size-properties>1024</size-properties> <size-accesscontrollists>1024</size-accesscontrollists> <size-permissions>1024</size-permissions> </resultcache> <content-notification> <notification-time>365</notification-time> <notification-project>Offline</notification-project> </content-notification> </system> </opencms>