summaryrefslogtreecommitdiff
path: root/conf.txt
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2010-11-21 16:18:08 +0000
committerPaul Buetow <paul@buetow.org>2010-11-21 16:18:08 +0000
commit7ead5b7a9ea99a3e0f1459187b3262f7054f0126 (patch)
tree17e082a745fd1bae8af5b8b1682c3a2ff94769c8 /conf.txt
Diffstat (limited to 'conf.txt')
-rw-r--r--conf.txt63
1 files changed, 63 insertions, 0 deletions
diff --git a/conf.txt b/conf.txt
new file mode 100644
index 0000000..936af92
--- /dev/null
+++ b/conf.txt
@@ -0,0 +1,63 @@
+#
+# please notice this:
+# the server parses this configuration file while starting or by an
+# administrator's request.
+#
+# not allowed are semicolons ';' inside or before the quotes " ",
+# otherwise this might result in errors.
+#
+# the syntax is easy: KEYNAME="value";
+#
+# all lines which do not contain a semicolon and at least two quotes
+# or start with a # will be ignored.
+#
+# greets, paul c. buetow ( snooper@ychat.org );
+#
+
+# server specific configurations ( not allowed to be removed ):
+
+HTMLTEMP="html/"; # directory of the html-template files.
+THRDPOOL="50"; # thread pool size.
+THRDQUEU="50"; # length of the thread pool queue.
+SRVRPORT="3000"; # local port on which the server listens.
+STRDROOM="Lounge"; # the name of the standard room.
+LANGUAGE="en"; # language of the chat outputs ( CONSOLE OUTPUT IS NOT AFFECTED )
+
+# the html template file which will be send if the requested file does not exists.
+NOTFOUND="notfound.html";
+# specifies the standard start html-template.
+STARTMPL="index.html";
+# user's standard nick color.
+USERCOL1="#FFFFFF";
+
+# length of the generated session id
+SESSION_LENGTH="32";
+
+# html = "OFF" strips all html tags from incoming messages
+HTML="OFF";
+
+# Logging
+
+# relative or absolute path to logfile
+ACCESS_LOG="log/access_log";
+
+# we're using buffered logging for performance
+# LOG_LINES specifies after how many lines the log is flushed into a file
+# if you don't want buffered logging set LOG_LINES to 1
+LOG_LINES="10";
+
+# values which are used by the html-templates and are not sticked within the yC++ core source!
+GRAPHICS="http://paul.buetow.info/yChat"; # url for graphic files etc.
+PGETITLE="yChat++ Basic - Fast Simple Extensible";
+
+# do not edit beyond this line
+
+CT_HTM="text/html";
+CT_HTML="text/html";
+CT_GIF="image/gif";
+CT_JPG="image/jpeg";
+CT_JPEG="image/jpeg";
+CT_PNG="image/png";
+CT_DEFAULT="text/html";
+
+# end.