Websites and Content Management System




Documentation > Develop with and for CorneliOS > CorneliOS structure, libraries and program code > Websites and Content Management System


CorneliOS includes a fully featured Content Management System (CMS)

Website Manager - Content Management System


The CorneliOS website manager allows to create and manage an unlimited number of websites on your server. Each website is built using templates, pages and objects and is dynamically generated by the CorneliOS Website Display Engine.

CorneliOS website pages can contain CornelioSCRIPT, ExtHTML and BBCode tags, which allows to create very powerful and cool dynamic websites.

The website manager can be used to manage all files using a simple web interface.

To use the website manager, login to your CorneliOS site and open the website manager which can be found among the default apps that shipped with your system. The website manager can also be found here:

http://www.example.com/app/cora/cms

Website Display Engine (WDE): /cgi-bin/web.pl


CorneliOS websites are being displayed by the CorneliOS Website Display Engine (WDE) which is located here:

/cgi-bin/web.pl

By default the main index file of the server will launch the WDE, and the WDE will then to open the main website on the server. Of course you may change this behaviour in the system preferences.

http://www.example.com - will open the main website (files in /var/www/main)
http://www.example.com/cgi-bin/web.pl - will also open the main website


http://www.example.com/web/main - will open the main website
http://www.example.com/web/example - will open the website called "example"
http://www.example.com/web/example/page2 - will open page2 of the website called "example"


http://www.example.com/cgi-bin/web.pl?site=example - will open the website called "example"
http://www.example.com/cgi-bin/web.pl?site=example&page=page2 - will open page2 of the website called "example"


Files and directories: /var/www


CorneliOS stores the entire website data in simple text and HTML files, no SQL database is needed. The major advantage of this design is the fact that you can easily edit all data using the CorneliOS file manager, a text editor or even via FTP or SSH.

/var/www - directory containing all websites
/var/www/demo - the demo website (cannot be edited)
/var/www/example - another website
/var/www/main - the main website on this site


/var/www/example/html - directory containing the HTML files
/var/www/example/site.conf - custom website configuration


/var/www/example/html/index - the main page of this website
/var/www/example/html/page2 - another page
/var/www/example/html/page3 - another page
/var/www/example/html/template.html - the main template of this website


/var/www/example/html/page2/index.html - the HTML file of page "page2"
/var/www/example/html/page2/text.txt - a text object


Configuration


/etc/httpd.conf - the main configuration for ALL websites on this site
/var/www/example/site.conf - custom website configuration




Working with CorneliOS


Installation and Administration


Develop with and for CorneliOS





(c)2006-2012 Joopita Research | Privacy Policy | Sitemap | Contact Us
FeaturesDownloadsDocumentationCommunityDonateShop