144 lines
4.8 KiB
INI
144 lines
4.8 KiB
INI
[options dir]
|
|
|
|
# please specify the path to your target directory
|
|
#
|
|
target = ./_TARGET
|
|
|
|
# please specify where the SPOOL directory is located,
|
|
# either the absolute path, or the path relative to the
|
|
# thalassa working directory (most likely the directory
|
|
# where this file resides)
|
|
#
|
|
# NOTE this could make an impression it can be replaced by
|
|
# %[opt:cgi:userdbdir]/_spool
|
|
# but this assumption is wrong. The web tree and the
|
|
# Thalassa working directory may reside on different
|
|
# nesting levels, and then the prefix for the spool
|
|
# directory will be totally different from the CGI's
|
|
# user database directory (as seen from CGI's binary)
|
|
#
|
|
spool = ../_thalcgi_db/_spool
|
|
|
|
# please specify where the thalcgi.cgi binary is found
|
|
# (either an absolute or a relative path)
|
|
#
|
|
# thalcgi = /usr/local/bin/thalcgi.cgi
|
|
thalcgi = ../thalassa/cms/thalcgi.cgi
|
|
|
|
|
|
|
|
[options mainpage]
|
|
|
|
# In most cases, the main page's file is named index.html, so it is
|
|
# usually safe to leave this untouched. However, you can set it to
|
|
# whatever name you want; you can, e.g., generate your index.html file
|
|
# by adding a file named ``index'' to the db/pages directory, and use
|
|
# the ``mainpage'' generated by the template in any other role.
|
|
# If you don't want the default template's main page to be generated at
|
|
# all, set this parameter to ``-'' (a string of a single minus char).
|
|
#
|
|
name = index.html
|
|
|
|
# Please edit the following text to whatever you'd like to see on
|
|
# your site's main page.
|
|
# It is strongly recommended to use <h2>, <h3>, ... for your headings;
|
|
# leave the <h1> tag for the page's title.
|
|
# Be sure to start every additional line with the ``+'' (or whitespace,
|
|
# but in this case remember that all leading whitespace will be trimmed
|
|
# off by thalassa).
|
|
#
|
|
text = <h2>Welcome to the site!</h2>
|
|
+ <p>Please edit the config.ini file to customize this text</p>
|
|
+
|
|
|
|
# Do you want to have a digest of you feed (news or blog) on the main page?
|
|
# Change the value to "no" (without quotes) to hide it.
|
|
#
|
|
digest = yes
|
|
|
|
[options cgi]
|
|
|
|
# please specify the CGI user database directory
|
|
# AS SEEN FROM THE CGI BINARY LOCATION
|
|
# (that is, from the root dir of your web tree, since
|
|
# the CGI binary is installed there)
|
|
# if you don't understand how to specify this path
|
|
# correctly, it is safe (despite strongly discouraged)
|
|
# to use an absolute path (starting with ``/'')
|
|
#
|
|
# As long as possible, this directory must be located
|
|
# outside of your site's tree!
|
|
#
|
|
userdbdir = ../thalcgi_db
|
|
|
|
# please specify the site source directory (where the
|
|
# thalassa.ini file resides)
|
|
# AS SEEN FROM THE CGI BINARY LOCATION
|
|
sitesrc = ../Site
|
|
|
|
# please specify the "thalassa" binary location
|
|
# AS SEEN FROM THE CGI BINARY LOCATION
|
|
# (or use the absolute path)
|
|
# thalassa_bin = /usr/local/bin/thalassa
|
|
thalassa_bin = ../thalassa/cms/thalassa
|
|
|
|
# please specify your (arbitrary) secret text here
|
|
# if confused, try the following command in your terminal:
|
|
#
|
|
# echo $HOSTNAME `date` 'some arbintrary crap' | shasum
|
|
#
|
|
# and pick its output as your secret text.
|
|
#
|
|
# It is critical to keep this secret *really* secret; anyone
|
|
# who knows or manages to guess it will be able to bypass
|
|
# your CAPTCHA test!
|
|
#
|
|
secret = PLACE *YOUR* SECRET PHRASE HERE!!!
|
|
|
|
# the time ordinary users have for editing their comments
|
|
#
|
|
to_edit_min = 20
|
|
to_edit_txt = 20 minutes
|
|
|
|
# captcha timeout in seconds
|
|
# it is safe to leave this untouched
|
|
#
|
|
captcha_to = 300
|
|
|
|
|
|
# the "envelope" (MAIL FROM:) email address to be used by
|
|
# Thalassa CGI. Should be existing and reachable, but may be
|
|
# unattended (e.g., routed right to /dev/null)
|
|
#
|
|
email_envfrom = do_not_reply@example.com
|
|
|
|
|
|
[options site]
|
|
|
|
# Tags and attributes considered safe enough are specified in the
|
|
# base/base.ini; the following two options specify additional tags and
|
|
# attributes. THESE ARE ONLY SAFE IN CASE ANONYMOUS COMMENTS ARE
|
|
# PREMODERATED AT YOUR SITE (and only people trusted to some level are
|
|
# permitted to bypass the premoderation). As this is the default, and
|
|
# there's currently no user-modifiable option to change it (one has to
|
|
# edit the files within the base/ subdirectory), we leave these enabled
|
|
# by default.
|
|
#
|
|
# In case untrusted people have any chance to leave a comment at your site
|
|
# without premoderation, make the two parameters empty. You've been
|
|
# warned. Filtering of URLs in links is not yet implemented in Thalassa,
|
|
# so one may make some JavaScript into your comment pages usging the
|
|
# "URL schemes" named "javascript:" or "data:", and some injections are
|
|
# also possible through CSS specified in the ``style'' attribute.
|
|
# This isn't really a problem for premoderated sites though, as you (as
|
|
# the premoderator) will not let all that crap through.
|
|
#
|
|
moretags = a img span
|
|
moreattrs = a=href img=src img=alt img=height img=width align style class
|
|
|
|
|
|
[general]
|
|
|
|
# Uncomment the following line and add your local ini files if you need
|
|
# inifiles =
|