summaryrefslogtreecommitdiff
path: root/conf.txt
blob: 936af92a6f775eefe64b64bda218ed745c6feebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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.