Configuration File

Configuration File

All SiteC configuration is done using a single configuration file in the home directory of the respective user ("~/.sitecrc"):

# **************************************************
#
#	The Site Compiler
#	(c) 1999 by Frank Bergmann
#	fraber@cs.tu-berlin.de
#
#	~/.sitecrc
#	Default resources for SiteC.
#
# **************************************************


# Debug Level:
# 0=silent, 4=default, 6=verbose, 10=extremely verbose
#
debug_level = 5


# Home directory of SiteC:
# Location of installation and where to
# look for default configuration files.
#
home_dir = /usr/local/httpd/sitec


# Source directory: This is where you edit your
# HTML source files.
#
source_dir = /home/fraber/public_html_source


# Destination directory:
# This is where SiteC stores the modified source
# files that are to be accessed by the HTTP-server.
#
dest_dir = /home/fraber/public_html


# How to refer to dest_dir (final HTML tree, result
# of running SiteC) from a HTML-browser?
#
dest_url = /~fraber


# Default design template: use this template 
# if nothing else is specified. (A design templates
# is common to all or some HTML pages of a user 
# and defines the design to be "added" to the content.)
#
design_template_default = /home/fraber/public_html_source/design.tpl


# Name for design templates in "source_dir" that
# overwrite the design_template_default.
# Please note that SiteC uses an inheritance
# strategy starting to look for a "design_template_name"
# in the local directory (of the source file) upward.
# If no "design_template_name" was found, the 
# "design_template_default" is used.
#
design_template_name = design.tpl

# TinyDL initialization file: This file defines a hierarchy
# of description logic entities. This is advanced stuff and 
# normally doesn't have to be changed by the user.
#
tdlinit = /usr/local/httpd/sitec/tdlinit.dl


# Name of a file that maps server URLs to files in "dest_dir".
# This mapping is optional and does not affect normal operation.
# However, this file is useful to reduce the output of the 
# link-checker.
# basemap = /home/fraber/lang/prolog/sitec/basemap.map