11.18.2004 23:43

cgicomment and Nanoblogger


I've finally managed to get cgicomment to work with Nanoblogger. I knew it was possible since I saw other blogs using it. However, the Nanoblogger docs assume you are putting your blog in a directory below your servers root. As in, it assumes you want to put your blog in http://rignesnet.tzo.com/[blog_dir] instead of right in http://rignesnet.tzo.com/.

The docs show to add two lines like:

BASE_DIR=../cgicomment/
ARTICLEDIR=../[blog_dir]


My first inclination was to set ARTICLEDIR=../ thinking it would find the root of my site. But all it did was complain about not being able to find the article, even though the URL's were all correct. Eventually it dawned on me to set ARTICLEDIR=../htdocs/ and comments worked perfectly.

Posted by Brian Reichert | Permalink | Categories: NanoBlogger Help | |