|
@@ -0,0 +1,206 @@
|
|
|
+##
|
|
|
+## Application settings file
|
|
|
+##
|
|
|
+[General]
|
|
|
+
|
|
|
+# Listens on the specified port.
|
|
|
+ListenPort=8800
|
|
|
+
|
|
|
+# Sets the codec used by 'QObject::tr()' and 'toLocal8Bit()' to the
|
|
|
+# QTextCodec for the specified encoding. See QTextCodec class reference.
|
|
|
+InternalEncoding=UTF-8
|
|
|
+
|
|
|
+# Sets the codec for http output stream to the QTextCodec for the
|
|
|
+# specified encoding. See QTextCodec class reference.
|
|
|
+HttpOutputEncoding=UTF-8
|
|
|
+
|
|
|
+# Sets the charset parameter of 'text/html' in the HTTP Content-Type
|
|
|
+# header to the specified string.
|
|
|
+HtmlContentCharset=UTF-8
|
|
|
+
|
|
|
+# Sets a language/country pair, such as en_US, ja_JP, etc.
|
|
|
+# If this value is empty, the system's locale is used.
|
|
|
+Locale=
|
|
|
+
|
|
|
+# Specify the multiprocessing module, such as 'thread' or 'prefork'
|
|
|
+MultiProcessingModule=thread
|
|
|
+
|
|
|
+# Specify the absolute or relative path of the temporary directory
|
|
|
+# for HTTP uploaded files. Uses system default if not specified.
|
|
|
+UploadTemporaryDirectory=tmp
|
|
|
+
|
|
|
+# Specify setting files for SQL databases.
|
|
|
+SqlDatabaseSettingsFiles=database.ini
|
|
|
+
|
|
|
+# Specify the setting file for MongoDB.
|
|
|
+MongoDbSettingsFile=
|
|
|
+
|
|
|
+# Specify the directory path to store SQL query files
|
|
|
+SqlQueriesStoredDirectory=sql/
|
|
|
+
|
|
|
+# Determines whether it renders views without controllers directly
|
|
|
+# like PHP or not, which views are stored in the directory of
|
|
|
+# app/views/direct. By default, this parameter is false.
|
|
|
+DirectViewRenderMode=false
|
|
|
+
|
|
|
+# Specify a file path for system log.
|
|
|
+SystemLogFile=log/treefrog.log
|
|
|
+
|
|
|
+# Specify a file path for SQL query log.
|
|
|
+# If it's empty or the line is commented out, output to SQL query log
|
|
|
+# is disabled.
|
|
|
+SqlQueryLogFile=log/query.log
|
|
|
+
|
|
|
+# Determines whether the application aborts (to create a core dump
|
|
|
+# on Unix systems) or not when it output a fatal message by tFatal()
|
|
|
+# method.
|
|
|
+ApplicationAbortOnFatal=false
|
|
|
+
|
|
|
+# This directive specifies the number of bytes from 0 (meaning
|
|
|
+# unlimited) to 2147483647 (2GB) that are allowed in a request body.
|
|
|
+LimitRequestBody=0
|
|
|
+
|
|
|
+# If false is specified, the protective function against cross-site request
|
|
|
+# forgery never work; otherwise it's enabled.
|
|
|
+EnableCsrfProtectionModule=false
|
|
|
+
|
|
|
+##
|
|
|
+## Session section
|
|
|
+##
|
|
|
+Session.Name=TFSESSION
|
|
|
+
|
|
|
+# Specify the session store type, such as 'sqlobject', 'file', 'cookie'
|
|
|
+# or plugin module name.
|
|
|
+Session.StoreType=cookie
|
|
|
+
|
|
|
+# Replaces the session ID with a new one each time one connects, and
|
|
|
+# keeps the current session information.
|
|
|
+Session.AutoIdRegeneration=false
|
|
|
+
|
|
|
+# Specifies the lifetime of the session in seconds. The value 0 means
|
|
|
+# "until the browser is closed." Defaults to 0.
|
|
|
+Session.LifeTime=0
|
|
|
+
|
|
|
+# Specifies path to set in the session cookie. Defaults to /.
|
|
|
+Session.CookiePath=/
|
|
|
+
|
|
|
+# Probability that the garbage collection starts.
|
|
|
+# If 100 specified, the GC of sessions starts at the rate of once per 100
|
|
|
+# accesses. If 0 specified, the GC never starts.
|
|
|
+Session.GcProbability=100
|
|
|
+
|
|
|
+# Specifies the number of seconds after which session data will be seen as
|
|
|
+# 'garbage' and potentially cleaned up.
|
|
|
+Session.GcMaxLifeTime=1800
|
|
|
+
|
|
|
+# Secret key for verifying cookie session data integrity.
|
|
|
+# Enter at least 30 characters and all random.
|
|
|
+Session.Secret=0I3EINu8nxl1hMu0dVDdDpIvbT2zKs
|
|
|
+
|
|
|
+# Specify CSRF protection key.
|
|
|
+# Uses it in case of cookie session.
|
|
|
+Session.CsrfProtectionKey=_csrfId
|
|
|
+
|
|
|
+##
|
|
|
+## MPM Thread section
|
|
|
+##
|
|
|
+
|
|
|
+# Maximum number of server threads allowed to start
|
|
|
+MPM.thread.MaxServers=512
|
|
|
+
|
|
|
+##
|
|
|
+## MPM Prefork section
|
|
|
+##
|
|
|
+
|
|
|
+# Maximum number of server processes allowed to start
|
|
|
+MPM.prefork.MaxServers=20
|
|
|
+
|
|
|
+# Minimum number of server processes allowed to start
|
|
|
+MPM.prefork.MinServers=5
|
|
|
+
|
|
|
+# Number of server processes which are kept spare
|
|
|
+MPM.prefork.SpareServers=5
|
|
|
+
|
|
|
+##
|
|
|
+## SystemLog settings
|
|
|
+##
|
|
|
+
|
|
|
+# Specify the system log file name.
|
|
|
+SystemLog.FilePath=log/treefrog.log
|
|
|
+
|
|
|
+# Specify the layout of the system log
|
|
|
+# %d : Date-time
|
|
|
+# %p : Priority (lowercase)
|
|
|
+# %P : Priority (uppercase)
|
|
|
+# %t : Thread ID (dec)
|
|
|
+# %T : Thread ID (hex)
|
|
|
+# %i : PID (dec)
|
|
|
+# %I : PID (hex)
|
|
|
+# %m : Log message
|
|
|
+# %n : Newline code
|
|
|
+SystemLog.Layout="%d %5P [%t] %m%n"
|
|
|
+
|
|
|
+# Specify the date-time format of the system log
|
|
|
+SystemLog.DateTimeFormat="yyyy-MM-dd hh:mm:ss"
|
|
|
+
|
|
|
+##
|
|
|
+## AccessLog settings
|
|
|
+##
|
|
|
+
|
|
|
+# Specify the access log file name.
|
|
|
+AccessLog.FilePath=log/access.log
|
|
|
+
|
|
|
+# Specify the layout of the access log.
|
|
|
+# %h : Remote host
|
|
|
+# %d : Date-time the request was received
|
|
|
+# %r : First line of request
|
|
|
+# %s : Status code
|
|
|
+# %O : Bytes sent, including headers, cannot be zero
|
|
|
+# %n : Newline code
|
|
|
+AccessLog.Layout="%h %d \"%r\" %s %O%n"
|
|
|
+
|
|
|
+# Specify the date-time format of the access log
|
|
|
+AccessLog.DateTimeFormat="yyyy-MM-dd hh:mm:ss"
|
|
|
+
|
|
|
+##
|
|
|
+## ActionMailer section
|
|
|
+##
|
|
|
+
|
|
|
+# Specify the delivery method such as "smtp" or "sendmail".
|
|
|
+# If empty, the mail is not sent.
|
|
|
+ActionMailer.DeliveryMethod=smtp
|
|
|
+
|
|
|
+# Specify the character set of email. The system encodes with this codec,
|
|
|
+# and sends the encoded mail.
|
|
|
+ActionMailer.CharacterSet=UTF-8
|
|
|
+
|
|
|
+##
|
|
|
+## ActionMailer SMTP section
|
|
|
+##
|
|
|
+
|
|
|
+# Specify the connection's host name or IP address.
|
|
|
+ActionMailer.smtp.HostName=
|
|
|
+
|
|
|
+# Specify the connection's port number.
|
|
|
+ActionMailer.smtp.Port=
|
|
|
+
|
|
|
+# Enables SMTP authentication if true; disables SMTP
|
|
|
+# authentication if false.
|
|
|
+ActionMailer.smtp.Authentication=false
|
|
|
+
|
|
|
+# Specify the user name for SMTP authentication.
|
|
|
+ActionMailer.smtp.UserName=
|
|
|
+
|
|
|
+# Specify the password for SMTP authentication.
|
|
|
+ActionMailer.smtp.Password=
|
|
|
+
|
|
|
+# Enables the delayed delivery of email if true. If enabled, deliver() method
|
|
|
+# only adds the email to the queue and therefore the method doesn't block.
|
|
|
+ActionMailer.smtp.DelayedDelivery=false
|
|
|
+
|
|
|
+##
|
|
|
+## ActionMailer Sendmail section
|
|
|
+##
|
|
|
+
|
|
|
+#ActionMailer.sendMail.CommandLocation=/usr/sbin/sendmail
|
|
|
+
|