CorneliOS structure, libraries and program code
Documentation > Develop with and for CorneliOS > CorneliOS structure, libraries and program code
CorneliOS uses a UNIX-like filesystem structure under the Apache document root.
Invisible directories: system core, virtual file system and backups
/.__bak - backups /.__sys - the entire CorneliOS code and all libraries (mirrored in /bin) /.__vfs - file and directory meta information (including access rights)
Main directories
/app - applications /bin - system, commands and libraries (/.__sys mirror) /cgi-bin - front end scripts and other software /csr - system resources: images, Javascript, ... /etc - setup files, preferences, ... /home - user home directories /hosts - gateway to other servers /http - gateway to the web /index.shtml - the start page (runs /cgi-bin/web.pl by default) /login - login page (runs /cgi-bin/cora.pl by default) /root - a data directory for the root user /sql - gateway to SQL databases /tmp - temporary stuff /var - various data, including websites (/var/www) /web - gateway to the CMS (don't modify files here!)
/cgi-bin
/cgi-bin/cora.pl - the application runtime /cgi-bin/desktop.pl - the desktop /cgi-bin/io.pl - allows to read/write files and databases /cgi-bin/local - contains optional software, including CIOS apps /cgi-bin/viewer.pl - allows to display files (mostly images) inside password protected areas /cgi-bin/web.pl - the website display engine (part of the CMS)
How it works
|
 |
|