InstallAdvanced
(Redirected from UsingAigaion/InstallAdvanced)
Contents |
Advanced install documentation
An installation of the Aigaion application consists of several parts. Below, we explain them. After you have read this, you might want to have a look at the sample_index.php file, and review whether your version of index.php still contains all the right settings.
The CodeIgniter framework
Aigaion2 has been built on top of the CodeIgniter framework. There are more applications using the CodeIgniter framework that may be installed on the same web server. Additionally, there may be more than one instance of Aigaion on the same web server. These files by default are found in the directory aigaion2/web_shared
It is possible to make these instances of Aigaion, and any other application using the same version of CodeIgniter, share a single copy of the codebase of the CodeIgniter framework. To do this, set the setting $system_folder in index.php to point to the right shared codeigniter directory
This directory may be moved, and `need not necessarily reside in the webroot. However, if it does not reside in the webroot, take care that the "open basedir restrictions" do not cause problems [LINK]
The Aigaion PHP engine
Aigaion2 uses a large amount of code that is all accessed through the central (configured) index.php file. There may be more than one instance of Aigaion on the same web server. These files by default are found in the directory aigaion2/aigaionengine
It is possible to make these instances of Aigaion share the same codebase of the Aigaion engine. To do this, make sure that the setting $application_folder in index.php points to the right shared aigaion engine directory.
This directory may be moved, and need not necessarily reside in the webroot. However, if it does not reside in the webroot, take care that the "open basedir restrictions" do not cause problems [LINK]
The Web elements of Aigaion: javascript, themes
Aigaion2 uses a number of javascript files, and has themes with style sheets and icons. These need to be accessible through a URL. These files by default are found in the directory aigaion2/web_shared
It is possible to make these instances of Aigaion share the same directory with javascripts and themes. To do this, make sure that the setting AIGAION_WEBSHARED_URL in index.php points to the right shared aigaion web_shared directory.
This directory may be moved, but MUST reside in the webroot.
If the directory with themes is shared between several instances of Aigaion, you might want to add a few themes that are specific to one of these instances.
The content of a particular instance of Aigaion: index.php; attachments;
Index.php must, of course, be located in the webroot at the appropriate place.
Attachments may, in the current Aigaion 2 versions, actually be placed outside of the webroot. This is done by changing the setting AIGAION_ATTACHMENT_DIR. This adds an additional layer of protection for your attachments.
However, if AIGAION_ATTACHMENT_DIR does not reside in the webroot, take care that the "open basedir restrictions" do not cause problems [LINK]
Coming soon!
instructions on:
- the small extra settings to tweak Aigaion even further, such as using clean URLs - configuration of a few email-export things