a. dbinterface variable
set dbinterface "pgtcl"; # PostgreSQL
or
set dbinterface "pgintcl"; # PostgreSQL with pgintcl
or
set dbinterface "fbsql"; # MySQL (with fbsql)
b. conninfo and table variable
Something like this:
set conninfo {dbname=mydb user=yourname password=secret} set table tclwiki
or
set conninfo $env(TCLWIKI_CONNINFO) set table $env(TCLWIKI_TABLE)
and in .htaccess:
SetEnv TCLWIKI_CONNINFO "dbname=mydb user=yourname password=secret" SetEnv TCLWIKI_TABLE tclwiki
c. Info on your wiki
set sitename "My Wiki" set summary "..."
create table tclwiki(wikiname varchar(255) not null primary key,content text, lastmodified timestamp, description varchar(500));
Add following lines:
<Files "wiki"> SetHandler cgi-script </Files>
FW: See also WiKit, of course.
Also see http, rss, wiki, mysql