From 7bf8b5659f900e1546672c016353d5c09df6c5e4 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Wed, 13 Jul 2011 13:38:28 +0200 Subject: Update README * using asciidoc * add pdf --- README | 110 ------------------------------------------------------------- README.pdf | Bin 0 -> 59897 bytes README.txt | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 103 insertions(+), 110 deletions(-) delete mode 100644 README create mode 100644 README.pdf create mode 100644 README.txt diff --git a/README b/README deleted file mode 100644 index 2959c6b..0000000 --- a/README +++ /dev/null @@ -1,110 +0,0 @@ -Index: - - 1) Installation - 1.1) Apache - 1.2) Lighttpd - 2) Entries - 3) Staticpages - 4) Comments - 5) Linklist - - -1) Installation -=============== -The installation of Blogthon assumes that your httpd supports CGI and Python -is installed. If all this is given, you can download Blogthon in a directory -of your choice. After that you have to symlink 3 files into your www directory: - - * blogthon.cgi - * styles - * .htaccess (optional, but security relevant) - -Then create 3 directories and 1 empty file: - - * entries/ - * static/ - * plugins/ - * linklist - -If you don't want to disable comments, you have to change the permissions of -entries/ to 777. - -Now copy the example configuration into your www directory, or to -../blogthonrc or ../.blogthonrc. - -If all this is done, you can continue with setting up your httpd. - - -1.1) Apache -=========== -To enable CGI you just have to run 'a2enmod cgi' as root. Now put something -like this in /etc/apache2/sites-available/default: - - - Options +ExecCGI - AddHandler cgi-script .cgi - DirectoryIndex blogthon.cgi - - -To finish the installation, reload Apache with -'/etc/init.d/apache2 force-reload' as root. - - -1.2) Lighttpd -============= -First you have to enable cgi support for lighttp by -running 'lighty-enable-mod cgi' as root. Now create a new config -in /etc/lighttpd/conf-available/ named 50-blogthon.conf or something similar -with this content: - -$HTTP["host"] == "YourBlogURL" { - cgi.assign = ( ".cgi" => "/usr/bin/python" ) - index-file.names = ( "blogthon.cgi" ) -} - -Enable this config by runnung 'lighty-enable-mod blogthon' and restart lighttpd -with '/etc/init.d/lighttpd restart' as root. - - -2) Entries -========== -To start blogging you just have to open your favorite editor, write your entry -and save it under entries/. The filename should be like this: - (entry title).(suffix) -The suffix can be set in your configuration file. Default is '.txt'. - -While parsing an entry, blogthon places a
behind each line, except for -lines with