Installation

The installation for pyBlog has been kept as simple as possible. But because pyBlog deals with cgi, there is an inherit complexity that comes with installing pyBlog properly on any web server. There will be no discussion on how your install can be affected by your web server's cgi requirements since that varies from server to server so widely.

I am, though, going to give you a warning: set your file permissions appropriately!!!. This means that you should most likely set user permissions to the minimum needed by your web server for any script that is accessed from the web (login.py, post.py, add_post.py, redirect.py, search.py, select.py, and visible.py). All other scripts should be set with no group or user permissions allowed (700 if you are using chmod). This will keep people from reading sensitive info such as encrypted passwords, your archive, etc. or accessing accounts.py.

Also, most CGI servers require that you specify where the Python interpreter is located in the first line of all CGI files. pyBlog is already set to the most common location, but you might still need to change it. If that is the case, just go ahead and change it. It is the line starting as #! (called a hash-bang).

As for the installation of pyBlog, just unpack the distribution where your CGI server specifies you must keep your CGI files. The package already has the directory hierarchy setup the way it needs to be. Just customize the setting and you are ready to go!

pyBlog 1.0; 2001-09-02