application.ini 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. ##
  2. ## Application settings file
  3. ##
  4. [General]
  5. # Listens on the specified port.
  6. ListenPort=8080
  7. # Sets the codec used by 'QObject::tr()' and 'toLocal8Bit()' to the
  8. # QTextCodec for the specified encoding. See QTextCodec class reference.
  9. InternalEncoding=UTF-8
  10. # Sets the codec for http output stream to the QTextCodec for the
  11. # specified encoding. See QTextCodec class reference.
  12. HttpOutputEncoding=UTF-8
  13. # Sets the charset parameter of 'text/html' in the HTTP Content-Type
  14. # header to the specified string.
  15. HtmlContentCharset=UTF-8
  16. # Sets a language/country pair, such as en_US, ja_JP, etc.
  17. # If this value is empty, the system's locale is used.
  18. Locale=
  19. # Specify the multiprocessing module, such as 'thread' or 'prefork'
  20. MultiProcessingModule=hybrid
  21. # Specify the absolute or relative path of the temporary directory
  22. # for HTTP uploaded files. Uses system default if not specified.
  23. UploadTemporaryDirectory=tmp
  24. # Specify setting files for SQL databases.
  25. SqlDatabaseSettingsFiles=database.ini
  26. # Specify the setting file for MongoDB.
  27. MongoDbSettingsFile=
  28. # Specify the directory path to store SQL query files
  29. SqlQueriesStoredDirectory=sql/
  30. # Determines whether it renders views without controllers directly
  31. # like PHP or not, which views are stored in the directory of
  32. # app/views/direct. By default, this parameter is false.
  33. DirectViewRenderMode=false
  34. # Specify a file path for system log.
  35. SystemLogFile=log/treefrog.log
  36. # Specify a file path for SQL query log.
  37. # If it's empty or the line is commented out, output to SQL query log
  38. # is disabled.
  39. SqlQueryLogFile=
  40. # Determines whether the application aborts (to create a core dump
  41. # on Unix systems) or not when it output a fatal message by tFatal()
  42. # method.
  43. ApplicationAbortOnFatal=false
  44. # This directive specifies the number of bytes from 0 (meaning
  45. # unlimited) to 2147483647 (2GB) that are allowed in a request body.
  46. LimitRequestBody=0
  47. # If false is specified, the protective function against cross-site request
  48. # forgery never work; otherwise it's enabled.
  49. EnableCsrfProtectionModule=false
  50. ##
  51. ## Session section
  52. ##
  53. Session.Name=TFSESSION
  54. # Specify the session store type, such as 'sqlobject', 'file', 'cookie'
  55. # or plugin module name.
  56. Session.StoreType=cookie
  57. # Replaces the session ID with a new one each time one connects, and
  58. # keeps the current session information.
  59. Session.AutoIdRegeneration=false
  60. # Specifies the lifetime of the session in seconds. The value 0 means
  61. # "until the browser is closed." Defaults to 0.
  62. Session.LifeTime=0
  63. # Specifies path to set in the session cookie. Defaults to /.
  64. Session.CookiePath=/
  65. # Probability that the garbage collection starts.
  66. # If 100 specified, the GC of sessions starts at the rate of once per 100
  67. # accesses. If 0 specified, the GC never starts.
  68. Session.GcProbability=100
  69. # Specifies the number of seconds after which session data will be seen as
  70. # 'garbage' and potentially cleaned up.
  71. Session.GcMaxLifeTime=1800
  72. # Secret key for verifying cookie session data integrity.
  73. # Enter at least 30 characters and all random.
  74. Session.Secret=0I3EINu8nxl1hMu0dVDdDpIvbT2zKs
  75. # Specify CSRF protection key.
  76. # Uses it in case of cookie session.
  77. Session.CsrfProtectionKey=_csrfId
  78. ##
  79. ## MPM Thread section
  80. ##
  81. # Number of application server processes to be started.
  82. MPM.thread.MaxAppServers=10
  83. # Maximum number of action threads allowed to start simultaneously
  84. # per server process.
  85. MPM.thread.MaxThreadsPerAppServer=100
  86. ##
  87. ## MPM Prefork section
  88. ##
  89. # Maximum number of server processes allowed to start
  90. MPM.prefork.MaxServers=20
  91. # Minimum number of server processes allowed to start
  92. MPM.prefork.MinServers=5
  93. # Number of server processes which are kept spare
  94. MPM.prefork.SpareServers=5
  95. ##
  96. ## MPM Hybrid section
  97. ##
  98. # Number of application server processes to be started.
  99. MPM.hybrid.MaxAppServers=10
  100. # Maximum number of worker threads allowed to start simultaneously
  101. # per server process.
  102. MPM.hybrid.MaxWorkersPerAppServer=100
  103. ##
  104. ## SystemLog settings
  105. ##
  106. # Specify the system log file name.
  107. SystemLog.FilePath=log/treefrog.log
  108. # Specify the layout of the system log
  109. # %d : Date-time
  110. # %p : Priority (lowercase)
  111. # %P : Priority (uppercase)
  112. # %t : Thread ID (dec)
  113. # %T : Thread ID (hex)
  114. # %i : PID (dec)
  115. # %I : PID (hex)
  116. # %m : Log message
  117. # %n : Newline code
  118. SystemLog.Layout="%d %5P [%t] %m%n"
  119. # Specify the date-time format of the system log
  120. SystemLog.DateTimeFormat="yyyy-MM-dd hh:mm:ss"
  121. ##
  122. ## AccessLog settings
  123. ##
  124. # Specify the access log file name.
  125. AccessLog.FilePath=
  126. # Specify the layout of the access log.
  127. # %h : Remote host
  128. # %d : Date-time the request was received
  129. # %r : First line of request
  130. # %s : Status code
  131. # %O : Bytes sent, including headers, cannot be zero
  132. # %n : Newline code
  133. AccessLog.Layout="%h %d \"%r\" %s %O%n"
  134. # Specify the date-time format of the access log
  135. AccessLog.DateTimeFormat="yyyy-MM-dd hh:mm:ss"
  136. ##
  137. ## ActionMailer section
  138. ##
  139. # Specify the delivery method such as "smtp" or "sendmail".
  140. # If empty, the mail is not sent.
  141. ActionMailer.DeliveryMethod=smtp
  142. # Specify the character set of email. The system encodes with this codec,
  143. # and sends the encoded mail.
  144. ActionMailer.CharacterSet=UTF-8
  145. ##
  146. ## ActionMailer SMTP section
  147. ##
  148. # Specify the connection's host name or IP address.
  149. ActionMailer.smtp.HostName=
  150. # Specify the connection's port number.
  151. ActionMailer.smtp.Port=
  152. # Enables SMTP authentication if true; disables SMTP
  153. # authentication if false.
  154. ActionMailer.smtp.Authentication=false
  155. # Specify the user name for SMTP authentication.
  156. ActionMailer.smtp.UserName=
  157. # Specify the password for SMTP authentication.
  158. ActionMailer.smtp.Password=
  159. # Enables the delayed delivery of email if true. If enabled, deliver() method
  160. # only adds the email to the queue and therefore the method doesn't block.
  161. ActionMailer.smtp.DelayedDelivery=false
  162. ##
  163. ## ActionMailer Sendmail section
  164. ##
  165. #ActionMailer.sendMail.CommandLocation=/usr/sbin/sendmail