Ensembl .SiteDefs.pm Perl module holds the information required to build the httpd.conf file to configure Apache (i.e. port number, modules etc). Some knowledge of Perl is required to edit and maintain this file..ini files are used to specify virtually every other configurable section of Ensembl. These are easier to configure than a perl module and are only needed by the child processes. The DEFAULTS.ini and MULTI.ini files contains a set of default settings for all species, but each species appearing in Ensembl can augment or overwrite these settings with its own .ini file. All these files are located and parsed at server startup by
EnsEMBL::Web::SpeciesDefs.pm..ini files include (but are in no way limited to):SiteDefs.pm is pulled into SpeciesDefs.pm, all these settings (be they server, site or species) are accessible from the global package SpeciesDefs. No instantiation should be necessary to access the settings as the SpeciesDefs object is instantiated early by EnsEMBL::Web::Page and then passed around. EnsEMBL::Document::WebPage. They store an encrypted
version of the session ID from the %ENV variable (instantiated by the Post Read Request handler).UserConfig and ScriptConfig. Both use the same WebUser database for storing and trieving information, and both check and create session identifiers if necessary.UserConfig is used to store information about a particular view's images. For example, which tracks are active in ContigView.ScriptConfig stores options for a particular script or page. For example, the width of the page, which panels are visible and which are collapsed.
UserConfig reads the session ID from the cookie and then looks up the session data in the
ensembl web user database (ensembl_web_user_db). If this database goes down, session data requests back up and
eventually the whole site does down.© 2008 WTSI / EBI. Ensembl is available to download for public use - please see the code licence for details.