Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (29 sloc) 1.19 KB
The only requirements are the Python interpreter and the sqlite3 module.
Oh, and a web server, obviously. These instructions will cover the
Apache web server as that's the most popular and also the biggest pain
in the arse to configure.
Extract Bloggy to a directory that is visible to your web server, e.g.
the public_html directory in your home directory.
Configuration directives are located in in the directory you
placed Bloggy.
The directory the database is to be created in needs to be writable by
the web server.
If you don't want everyone to be able to post to your blog you'll need
to secure post.cgi somehow. This will vary depending on the web server
you're using and your needs. Use your brain.
If you're using Apache, one possible solution is to place the following
in a file called .htaccess in the same directory as post.cgi:
<Files post.cgi>
AuthType Basic
AuthName "Password Required"
AuthUserFile /path/to/.htpasswd
Require valid-user
You'll obviously need to create a .htpasswd file containing your
authentication credentials. This can be done using the htpasswd command.