182 lines
8.4 KiB
INI
182 lines
8.4 KiB
INI
;------------------------------------------------------------------------------
|
|
; default site language
|
|
;------------------------------------------------------------------------------
|
|
default_site_language = "english"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; default site name
|
|
;------------------------------------------------------------------------------
|
|
default_site_name = "@PACKAGE@"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; database settings
|
|
;------------------------------------------------------------------------------
|
|
database_hostname = "localhost"
|
|
database_username = ""
|
|
database_password = ""
|
|
database_name = ""
|
|
database_driver = ""
|
|
database_prefix = ""
|
|
|
|
;------------------------------------------------------------------------------
|
|
; ldap settings
|
|
;------------------------------------------------------------------------------
|
|
; The userid format and the password format can contain
|
|
; ${userid} and ${password} to represent the actual user ID
|
|
; and the password respectively.
|
|
;
|
|
; If ldap_auth_mode is 1, authentication is performed by binding to
|
|
; a LDAP server specified using ldap_userid_format as a binddn and
|
|
; ldap_password_format as a password.
|
|
;
|
|
; If ldap_auth_mode is 2, it finds a binddn by searching a subtree
|
|
; under ldap_userid_search_base using ldap_userid_search_filter
|
|
; after having bound with ldap_admin_binddn and ldap_admin_password.
|
|
; The binddn found is used for subsequent binding for authentication.
|
|
; ldap_userid_format is unused in this mode.
|
|
;------------------------------------------------------------------------------
|
|
ldap_server_uri = "ldap://127.0.0.1:389"
|
|
ldap_server_protocol_version = "3"
|
|
ldap_auth_mode 1
|
|
ldap_userid_format = "cn=${userid},ou=users,dc=codepot,dc=org"
|
|
ldap_password_format = "${password}"
|
|
ldap_admin_binddn = "cn=admin,dc=codepot,dc=org"
|
|
ldap_admin_password = "admin-password"
|
|
ldap_userid_search_filter = "(uid=${userid})"
|
|
ldap_userid_search_base = "ou=users,dc=codepot,dc=org"
|
|
ldap_mail_attribute_name = ""
|
|
|
|
;------------------------------------------------------------------------------
|
|
; default langage to use. set it to 'auto' to detect it automatically.
|
|
; available languages are:
|
|
; english, korean, indonesian
|
|
;------------------------------------------------------------------------------
|
|
language = "auto"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; Name of the index page. If you want to hide the index page name from
|
|
; the URL by rewriting it (e.g. mod_rewrite), you have to change this
|
|
; properly to match the rewriting rule
|
|
;------------------------------------------------------------------------------
|
|
index_page = "index.php"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; When set to yes, viewing pages require a user to sign in.
|
|
;------------------------------------------------------------------------------
|
|
singin_compulsory = "no"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; When set to yes, non-http access is diverted to https using
|
|
; the base URL specified in https_base_url. api calls are not affected.
|
|
; change api_base_url to force https api calls instead.
|
|
;------------------------------------------------------------------------------
|
|
https_compulsory = "no"
|
|
https_url = "https://${SERVER_NAME}${REQUEST_URI}"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; API base URL
|
|
;------------------------------------------------------------------------------
|
|
api_base_url = "http://127.0.0.1"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; Command-separated list of subversion base URLs
|
|
;------------------------------------------------------------------------------
|
|
; This URL depends on the webdav configuration for subversion repository.
|
|
; If you have your repository enabled with SSL under /svn, you can set this to
|
|
; https://${SERVER_NAME}/svn.
|
|
; You may specify multiple URLs separated with a comma as shown below:
|
|
; "http://${SERVER_NAME}/svn, https://${SERVER_NAME}/svn"
|
|
; REQUEST_PROTOCOL is resolved to either http or https.
|
|
;------------------------------------------------------------------------------
|
|
svn_base_url = "${REQUEST_PROTOCOL}://${SERVER_NAME}:${SERVER_PORT}/svn"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; Login model to use.
|
|
;------------------------------------------------------------------------------
|
|
login_model = "LdapLoginModel"
|
|
#login_model = "DbLoginModel"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; Comma separated list of system administrator IDs
|
|
;------------------------------------------------------------------------------
|
|
; sysadmin_userids = "tom, dick, jane"
|
|
;------------------------------------------------------------------------------
|
|
sysadmin_userids = ""
|
|
|
|
;------------------------------------------------------------------------------
|
|
; Maximum file upload size in Kbytes. You may have to adjust PHP settings
|
|
; for a large value to work.
|
|
;------------------------------------------------------------------------------
|
|
max_upload_size = "10000"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; Maximum number of latest projects to show in the front page
|
|
;------------------------------------------------------------------------------
|
|
max_latest_projects = "10"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; Maximum number of projects to show
|
|
;------------------------------------------------------------------------------
|
|
max_projects_per_page = "50"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; Maximum number of issues to show
|
|
;------------------------------------------------------------------------------
|
|
max_issues_per_page = "50"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; Maximum number of log entries to show per details page
|
|
;------------------------------------------------------------------------------
|
|
max_logs_per_page = "50"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; Maximum number of log entries to show in the front page
|
|
;------------------------------------------------------------------------------
|
|
max_logs_in_site_home = "10"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; Maximum number of log entries to show in the project home page
|
|
;------------------------------------------------------------------------------
|
|
max_logs_in_project_home = "5"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; directory to accomodate subversion repositories
|
|
;------------------------------------------------------------------------------
|
|
svnrepo_dir = "@DEPOTDIR@/svnrepo"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; directory to store uploaded files
|
|
;------------------------------------------------------------------------------
|
|
file_dir = "@DEPOTDIR@/files"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; directory to store wiki attachments
|
|
;------------------------------------------------------------------------------
|
|
attachment_dir = "@DEPOTDIR@/attachments"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; log threshold
|
|
;------------------------------------------------------------------------------
|
|
; 0 = Disables logging, Error logging TURNED OFF
|
|
; 1 = Error Messages (including PHP errors)
|
|
; 2 = Debug Messages
|
|
; 3 = Informational Messages
|
|
; 4 = All Messages
|
|
;------------------------------------------------------------------------------
|
|
log_threshold = 0
|
|
|
|
;------------------------------------------------------------------------------
|
|
; When yes, a project member can delete a non-empty project containing
|
|
; wiki pages, file uploads, etc. An empty project can be deleted any time
|
|
; regardless of this option. A system administrator(sysadmin_userids) is
|
|
; allowed to delete a non-empty project also regardless of this option.
|
|
;------------------------------------------------------------------------------
|
|
force_project_delete = "no"
|
|
|
|
;------------------------------------------------------------------------------
|
|
; customized footer
|
|
;------------------------------------------------------------------------------
|
|
; Leave this empty for the default footer message
|
|
;------------------------------------------------------------------------------
|
|
footer = ""
|