This repository has been archived by the owner on Aug 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
A simple blog engine based on Mongo,written in C++ (though a PHP version may surface at some point)
License
BSD-3-Clause, Unknown licenses found
Licenses found
BSD-3-Clause
LICENSE
Unknown
COPYING
mich181189/MongoBlog
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
/////////////////////////////////////////////////////////////////////// // // // MongBlog - Superfast simple blogging platform // // Readme // // (c) 2010 Michael Cullen http://cullen-online.com // // Released under the BSD licence as define in the // // accompanying LICENCE file. Please read it :-) // // // /////////////////////////////////////////////////////////////////////// To Build from git: run ./toolconfig.sh then continue as below: To build from tarball: You need libMongoClient installed, and relevant libboost versions. It's basically the standard install/configure step, except you set the bin dir to the location you want the cgi to be in. ./configure --bindir=/path/to/cgi make (then as root) make install if you get errors about the shared object not being found, try running ldconfig as root. Configuring: copy the folder mbTemplates to one level above the executable, then: cd /path/to/installed/cgi ./MongoDbConfig and answer the questions. Apache Fun =============== This program now has the ending .cgi which means that you can now use an AddType declaration instead of a scriptalias. This is important as otherwise any external images or js files would have been difficult to include. Security =============== I strongly recommend adding the included htaccess file next to the CGI because otherwise the config program will be runnable from the internet, which causes the webserver to lock up due to it not being a CGI program, and waiting for input. The htaccess file solves this, and makes nicer URLs as well (like /blog/post/post-id/ to access a post) Structure ============ The main work is done in the Blog class and the StorageEngine class.
About
A simple blog engine based on Mongo,written in C++ (though a PHP version may surface at some point)
Resources
License
BSD-3-Clause, Unknown licenses found
Licenses found
BSD-3-Clause
LICENSE
Unknown
COPYING
Stars
Watchers
Forks
Packages 0
No packages published