]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - config.py.example
Add configuration of dynamic and static base URLs.
[irc/quakenet/qwebirc.git] / config.py.example
index 36871a2af89c1696f3e98dcce6e0378c96bee692..267d0244ab8840435013a9bf9724d1dcf2de18bc 100644 (file)
@@ -39,7 +39,7 @@ IDENT = "webchat"
 #         browser will be sent to IRC.
 #
 #         Possible values include:
-#         - webirc
+#         - the string "webirc", i.e. WEBIRC_MODE = "webirc"
 #           Use WEBIRC type blocks, with a server configuration of
 #           the following style:
 #
@@ -51,12 +51,12 @@ IDENT = "webchat"
 #
 #           Remember to set the WEBIRC_PASSWORD value to be the
 #           same as <password>.
-#         - cgiirc
+#         - the string "cgiirc", i.e. WEBIRC_MODE = "cgiirc"
 #           old style CGIIRC command, set CGIIRC_STRING to be the
 #           command used to set the ip/hostname, and set
 #           WEBIRC_PASSWORD to be the password used in the server's
 #           configuration file.
-#         - None (the literal value)
+#         - the literal value None, i.e. WEBIRC_MODE = None
 #           Send the IP and hostname in the realname field, overrides
 #          the REALNAME option.
 WEBIRC_MODE = None
@@ -140,6 +140,12 @@ ADMIN_ENGINE_HOSTS = ["127.0.0.1"]
 #         with them, see run.py --help for a list of options.
 #ARGS = "-n -p 3989"
 
+# OPTION: SYSLOG_ADDR (optional)
+#         Used in conjunction with util/syslog.py and -s option.
+#         This option specifies the address and port that syslog
+#         datagrams will be sent to.
+#SYSLOG_ADDR = "127.0.0.1", 514
+
 # TUNEABLE VALUES
 # ---------------------------------------------------------------------
 #
@@ -191,6 +197,20 @@ HTTP_AJAX_REQUEST_TIMEOUT = 30
 #         that haven't started/completed an HTTP request.
 HTTP_REQUEST_TIMEOUT = 5
 
+# OPTION: STATIC_BASE_URL
+#         This value is used to build the URL for all static HTTP
+#         requests.
+#         You'd find this useful if you're running multiple qwebirc
+#         instances on the same host.
+STATIC_BASE_URL = ""
+
+# OPTION: DYNAMIC_BASE_URL
+#         This value is used to build the URL for all dynamic HTTP
+#         requests.
+#         You'd find this useful if you're running multiple qwebirc
+#         instances on the same host.
+DYNAMIC_BASE_URL = ""
+
 # QUAKENET SPECIFIC VALUES
 # ---------------------------------------------------------------------
 #