Opencms VFS folder structure description

Source: Internet
Author: User

Someone asked me about the role of each folder in opencms VFS. Here is a brief description:
The concept of VFS has been mentioned more than once. I will repeat it here. After logging on to opencms, switch to the "Explorer" view, where VFS (Virtual File System) is displayed on the left ), it is a tree-structured resource list that displays all files and folders in opencms.
VFS operates in the same way as normal file systems, but all this content is stored in the database, so it is a "Virtual File System". For this reason, content in VFS does not exist in the real system. The VFS path is similar to a URL or UNIX style path.
The root folder of VFS is "/". The root file has three sub-folders:/channels,/sites, And/system, for example:

Channels: this folder is retained for opencms5.0 and is not used now.
Sites: this folder is the location where the site is stored in opencms. Its structure is/sites/sitea,/sites/siteb, etc./sites/default is the default site folder of the system, A site is an organizational unit in opencms. Generally, each site belongs to a separate unit and is not associated with the actual site. It has its own domain name, such as www.sitea.com, has its own Editing Users and content owners.
The system:/system file contains some system files of opencms. The subfolders are described as follows:
• Galleries: This file contains some shared resources, fragments, and common HTML code segments. These resources are stored in various resource libraries (galleries, each resource library is a separate sub-folder under the galleries folder, such as "Image Library" and "Download resource library. (The concept of resource library will be introduced in future articles, please pay attention to http://blog.csdn.net/qianxuncms)
• Handler: Handler stores opencms error handling pages, such as 404 error pages and 500 error pages.
• Login: this folder stores the login page of The opencms workspace.
• Lost-found: If a page is "lost" in VFS, that is, it cannot be determined its storage location in VFS for some reason, then it will be placed in this folder, this is a bit like the "Lost + found" folder in Linux.
• Modules: the modules in opencms are stored in this folder. The module can be used as an extension of the basic functions of opencms, such as help documents, calendar controls, search engines, and message boards. Module creation process see http://blog.csdn.net/qianxuncms/archive/2007/04/06/1554192.aspx
• Shared: this folder stores a set of templates for sharing resources for multiple sites.
• Workplace: This file stores all the files in the opencms Workspace: templates, images, and content. Developers can customize the workspace by modifying these files.
The root folder can only be used by system administrators and developers. It is recommended that you do not directly edit any content in/system/. For the sake of system security, only the edit permission of the sub-directories under the Content Editor/sites/should be assigned, that is, the edit permission of the site.
Thank you for choosing opencms-the first blog in Chinese resources. You are welcome to directly communicate with the author and make progress together. MSN: qianxuncms@hotmail.com, QQ: 9165456.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.