2 // PLEASE DO NOT REMOVE THIS LINE
4 // GForge Universal Site Modifications
5 // by David HM Spector <spector@zeitgeist.com>
9 $sys_etc_path='/etc/gforge';
10 $sys_opt_path='/opt/gforge';
11 $sys_var_path='/var/lib/gforge';
14 // Gforge database type
16 //$sys_database_type='mysql';
17 $sys_database_type='pgsql';
22 // Hostnames should be fully qualified domain names (FQDNs); using short names
23 // would be prettier but would stop you from distributing your SourceForge
24 // implementation across multiple domains.
26 // Of course, if you have a lot of machines serving a particular purpose
27 // such as FTP or for shell accounts, the "hostname" here might be in
28 // reality an addr_list of machines that is serviced by a round-robin
29 // mechanism or something fancy like a local-director.
31 // The default GForge domain
32 // this is used where ever the "naked" form of the GForge domain
33 // might be used. E.g., "mailto:admin@gforge.net"
34 $sys_default_domain = 'gforge.company.com';
35 $sys_forum_return_domain = "gforge.company.com";
36 //$sys_fallback_domain = 'gforge2.company.com';
38 // Machine used for downloading sources/packages
39 $sys_download_host = 'download.gforge.company.com';
41 // Machine(s) that host users' shell accounts
42 // N.B. to the SourceForge Crew: What's the difference between the user
43 // host and the shell host? They are clearly two different hostnames
44 // in the source code, but they seem to serve the same purpose..?
45 $sys_shell_host = 'shell.gforge.company.com';
46 $sys_users_host = 'users.gforge.company.com';
48 // Machine that hosts the GForge mailing lists (This could also be
49 // the mail host if you have enough horsepower & bandwidth)
50 $sys_lists_host = 'gforge.company.com';
56 // Machine that hosts SCM
57 $sys_scm_host = 'cvs.gforge.company.com';
58 $sys_cvs_host=$sys_scm_host;
60 // Force the use of a single scm host instead of scm.project.domain.com
61 // Set to 1 to use scm.domain.com for all projects
62 // Set to 0 to use scm.project.domain.com
63 $sys_scm_single_host = 1;
65 // Path to tarballs directory
66 $sys_scm_tarballs_path="$sys_var_path/scmtarballs";
68 // Path to snapshots directory
69 $sys_scm_snapshots_path="$sys_var_path/scmsnapshots";
72 $sys_path_to_scmweb="$sys_opt_path/bin/";
74 //Databases, html/php/other paths
75 //server to use for updates and reads
76 //If this is null (i.e. ""), then gforge will use Unix sockets to connect
79 $sys_dbname='alexandria';
81 // You can also specify a database port if you're using something other than 5432
95 // UNIX for classic account management
96 // LDAP for managing with ldap
97 // NIS not implemented
98 $sys_account_manager_type='UNIX';
100 // email address to send admin alerts to
101 $sys_admin_email = 'gforge@gforge.company.com';
103 // Path to sendmail program
104 $sys_sendmail_path='/usr/sbin/sendmail';
106 // Select unix_password cipher
107 // Normally there will be no reason to change this for Linux based systems
108 // Valid choices are MD5, DES, Blowfish, or Plain
109 // DO NOT CHANGE ON EXISTING INSTALL!!!
111 // If using usergroup_wrapper.php (for non-Linux systems)
112 // this value MUST be plain
113 $unix_cipher = 'MD5';
116 // LDAP configuration
118 // enable(1) or disable(0) ldap use altogether
119 $sys_ldap_host='ldap.gforge.company.com';
122 // this is dn under which all information stored
123 $sys_ldap_base_dn='dc=gforge,dc=company,dc=com';
124 // and this, how we do access it (add permission required)
125 $sys_ldap_bind_dn='cn=SF_robot,dc=gforge,dc=company,dc=com';
126 // admin dn - login dn which has permissions to delete entries
127 // NOT used by web code, only by support utilities
128 // note that password NOT stored here
129 $sys_ldap_admin_dn='cn=admin,dc=gforge,dc=company,dc=com';
132 // Jabber Configuration
135 //messages from the system will be sent to this address
136 $sys_jabber_server='jabber.gforge.company.com';
137 $sys_jabber_port='5222';
138 // messages sent to jabber accounts will come from this user
139 // It is similar to the "From: noreply@gforge.org" used in emails
140 $sys_jabber_user='noreply';
144 // You can turn features on/off sitewide
147 $sys_use_tracker=true;
150 $sys_use_docman=true;
153 $sys_use_survey=true;
158 $sys_use_snippet=true;
160 $sys_use_people=true;
163 // Enable/Disable user ratings
164 $sys_use_ratings=true;
165 // Enable/Disable the ability to upload files using FTP in FRS
166 $sys_use_ftpuploads=false;
167 // Enable/Disable the use of mail gateways for trackers and forums
168 $sys_use_gateways=true;
170 // Enable/Disable the ability to add additionnal vhost for a project
171 $sys_use_project_vhost=true;
172 // Enable/Disable the ability to have database for a project (backend not implemented)
173 $sys_use_project_database=false;
174 // Enable/Disable the ability to add images for a project (frontend not implemented)
175 $sys_use_project_multimedia=false;
178 // Restricted project registration
179 // If set to true, only a site admin can register projects
181 $sys_project_reg_restricted=true;
183 // Restricted user registration
184 // If set to true, only a site admin can register users
186 $sys_user_reg_restricted=false;
189 // Groups and Homes dir prefix
191 $homedir_prefix='/home';
192 $groupdir_prefix='/home/groups';
195 // SCM directory prefixes
197 //$cvsdir_prefix='$sys_var_path/cvsroot';
198 //$svndir_prefix="$sys_var_path/svnroot";
199 $cvsdir_prefix='/cvsroot';
200 $svndir_prefix='/svnroot';
205 // File Upload Configuration
207 // Create a directory, which is writable by your webserver, but not
208 // within its document root (does not fall under www/ in the tarball)
209 // Your php.ini file may have to be modified to allow writing outside
210 // the webserver's directory
212 $sys_upload_dir="$sys_var_path/uploads/";
213 $sys_ftp_upload_dir='/path/to/frs/upload';
214 $sys_ftp_upload_host='upload.gforge.company.com';
215 $sys_apache_user='apacheuser';
216 $sys_apache_group='apachegroup';
218 // Where the GForge files are placed
219 // *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
220 // that points to the www directory of the GForge
221 // installation. If you use ANY form of relative path
222 // you will break the html_image function in include/html.php
224 $sys_urlroot="$sys_opt_path/www/";
227 // Name of the system as a whole (needed by various utils and titles)
228 $sys_name='MyGForge';
230 // Mailman base installation directory
231 $sys_path_to_mailman='/usr/lib/mailman';
233 // session cookie settings
235 // IMPORTANT - YOU MUST CHANGE "foobar" to a long, random number
237 $sys_session_key = 'foobar';
238 $sys_session_expire = 60 * 60 * 24 * 7;
240 // Require that user give unique (not yet existent in db) email upon
242 $sys_require_unique_email=0;
244 // Require that all email be copied to this address if present
245 $sys_bcc_all_email_address='';
247 // GUI modifications (menu colors, etc.)
248 // See the top of the file include/html.php, this is where the menu colors
249 // and colors used throughout GForge are defined.
251 // Themeing related vars... Some of this needs to change in the session stuff
252 // The theme base directory, everything else is handled by theme_sysinit()
253 $sys_themeroot="$sys_opt_path/www/themes/";
254 // If you want an other default theme or language
257 $sys_default_timezone='GMT';
258 $sys_default_country_code='US';
260 // Akamization of images
261 // example: http://images.gforge.company.com
263 $sys_images_secure_url='';
266 // The GForge permission model is based on groups
267 // certain parts of the site, like news, stats, etc
268 // are based on special group_id numbers
269 // group_id #1 is the super-user group of sitewide admins
272 $sys_peer_rating_group=4;
273 $sys_template_group=5;
274 $default_trove_cat=18;
277 $sys_path_to_jpgraph=$sys_opt_path.'/jpgraph';
280 // Setting this to 1 will add a "Show Source" link to the bottom of each page
286 // Truetype font settings
287 //$gantt_title_font_family='FF_ARIAL';
288 //$gantt_title_font_style='FS_NORMAL';
289 //$gantt_title_font_size=12;
290 //$gantt_task_font_family='FF_ARIAL';
291 //$gantt_task_font_style='FS_NORMAL';
292 //$gantt_task_font_size=12;
294 // Place for customized files
295 $sys_custom_path=$sys_etc_path.'/custom';
297 // Gettext files (default: /usr/share/locale).
298 $sys_gettext_path=$sys_opt_path.'/locales';
301 // Plugins configuration
303 // Path to plugins directory
304 $sys_plugins_path="$sys_opt_path/plugins/";
306 // End of customizations -- place nothing after this line