Advanced

Advanced topics

 

Berlioz file organisation

This document describes the file organization within a Berlioz-powered Website.

Public and private files

Berlioz distinguishes two types of files:

Public files

Are directly available on the Website (though they may also be protected at a different level).

Private files

Are only accessible by the application. They are located within the /WEB-INF directory

There are no restrictions on how public files are organized, so this document deals with essentially with how private files are organized.

Public folder structure

The table below describes the folder structure under / which are directly accessible by the Web Application.

/Public files - directly accessible by the Web server.
The only files directly under this folder are usually robots.txt, favicon.ico, etc.
/scriptContainer for all the scripts
/styleContainer for all the styles, CSS images should also be stored here
/WEB-INFPrivate files - only accessible by the Web application, see table below

Private folder structure

The table below describes the folder structure under /WEB-INF which are only accessible by the Web Application.

/web.xmlWeb descriptor for the application as specified by J2EE
/classesClasses and resources used by the class loader; may be empty if no customization is required
/configConfiguration files for Berlioz
/indexWhen indexing is turned on, this is where the Lucene index is located
/ixmlContains the templates used by the indexer to generate the index
/libLibraries loaded by the web container. Must include wo-berlioz and wi-bastille.
/psmlPSML data used by the application and generally Published by PageSeeder
/xmlXML data used by the application
/xsltXSLT files used by Berlioz to transform the XML output of Generators; organized by output type (XSLT, RSS, ICAL, etc.)

Note

From PageSeeder 5.2, it recommended that PageSeeder documents be published using the <ps:export> Ant task as PSML.

Created on , last edited on