]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - config/config-dist.ini
moved over from lib/plugin to simplify security
[SourceForge/phpwiki.git] / config / config-dist.ini
1 ; This is the main configuration file for PhpWiki.
2 ; Note that certain characters are used as comment char and therefore 
3 ; these entries must be in double-quotes. Such as ":", ";", "," and "|"
4 ;
5 ; <?php die(); ?> for security
6 ;
7 ; This file is divided into eight parts. 
8 ; Each one has different configuration settings you can
9 ; change; in all cases the default should work on your system,
10 ; however, we recommend you tailor things to your particular setting.
11 ; Here undefined definitions get defined by config-default.ini settings.
12
13 ;=========================================================================
14 ; Part Zero: Latest Development and Tricky Options
15 ;=========================================================================
16 ;
17 ; If PHP needs help in finding where you installed the rest of the PhpWiki
18 ; code, you can set the include_path here.
19 ;
20 ; Override PHP's include path so that it can find some needed additional libraries.
21 ; You shouldn't need to do this unless your system include_path esp. your 
22 ; system pear libs are broken or oudated. The PHPWIKI_DIR is automatically 
23 ; put to the front and the local lib/pear path is automatically added to the end.
24 ; But if you define it, be sure to include either the system pear path or 
25 ; the phpwiki/lib/pear path to override your Pear_DB.
26 ; Note that on Windows-based servers, you should use ; rather than :
27 ; as the path separator.
28 ;INCLUDE_PATH = ".:/usr/local/httpd/phpwiki:/usr/share/pear"
29
30 ; Set DEBUG to 1 to view the XHTML and CSS validator icons, page
31 ; processing timer, and possibly other debugging messages at the
32 ; bottom of each page. 2 for a more verbose level. See lib/config.php.
33 ; Default: 0
34 ;DEBUG = 1
35
36 ; Enable the new method of handling WikiUsers.  This is currently an
37 ; experimental feature, although it is considered fairly stable.  It's best
38 ; to leave it on, and only disable it if you have problems with it.
39 ; Servers with memory-limit problems might want to turn it off. It costs ~300KB
40 ; Default: true
41 ;ENABLE_USER_NEW = false
42
43 ; I suspect ACL page permissions to degrade speed by 10%. Default: true
44 ;ENABLE_PAGEPERM = false
45
46 ; Graphical buttons on edit. Default: true
47 ; Reportedly broken on MacOSX Safari
48 ;ENABLE_EDIT_TOOLBAR = false
49
50 ; Adds two additional buttons in EDIT_TOOLBAR, Search&Replace and Undo
51 ; Default: true
52 ;JS_SEARCHREPLACE = true
53
54 ; Default: true
55 ;ENABLE_DOUBLECLICKEDIT = false
56
57 ; Needed for inlined SVG and MathM, but may conflict with document.write(). 
58 ; Experimental. Default: false
59 ;ENABLE_XHTML_XML = true
60
61 ; Store DB query results in memory to avoid duplicate queries.
62 ; Disable only for old php's with low memory or memory_limit=8MB.
63 ; Default: true
64 ;USECACHE = false
65
66 ; Needs babycart installed. See http://phpwiki.org/SpamAssassinIntegration
67 ; Optionally define BABYCART_PATH. Default: /usr/local/bin/babycart
68 ;ENABLE_SPAMASSASSIN = true
69
70 ; If GOOGLE_LINKS_NOFOLLOW is true, ref=nofollow is added to 
71 ; all external links to discourage spam. You might want to turn it off,
72 ; if you want to improve pageranks on external links.
73 ;GOOGLE_LINKS_NOFOLLOW = false
74
75 ; LiveSearch enables immediate title search results via XMLHttpRequest.
76 ; Displays the results in a dropdown under the titlesearch inputbox
77 ; while typing. (experimental, only with certain themes)
78 ; You'll have to copy livesearch.js from http://blog.bitflux.ch/wiki/LiveSearch
79 ; to themes/default/ and define ENABLE_LIVESEARCH in config.ini to true. 
80 ; See themes/blog/themeinfo.php.
81 ; Currently we use the bitflux.ch library, but we will change to 
82 ; the russian acdropdown soon. http://momche.net/publish/article.php?page=acdropdown
83 ;ENABLE_LIVESEARCH = true
84
85 ;==========================================================================
86 ; Part One: Authentication and security settings.
87 ;
88 ; See Part Three for more.
89 ;==========================================================================
90 ;
91 ; The name of your wiki.
92 ;
93 ; This is used to generate a keywords meta tag in the HTML templates,
94 ; in bookmark titles for any bookmarks made to pages in your wiki,
95 ; and during RSS generation for the <title> of the RSS channel.
96 ;
97 ; To use your own logo and signature files, name them PhpWikiLogo.png
98 ; and PhpWikiSignature.png and put them into themes/default/images
99 ; (substituting "PhpWiki" in the filename with the name you define
100 ; here).
101 ;
102 ; It is recommended this be a relatively short WikiWord like the
103 ; InterWiki monikers found in the InterWikiMap. (For examples, see
104 ; lib/interwiki.map).
105 WIKI_NAME = PhpWiki
106
107 ; Visitor Hostname Lookup
108 ;
109 ; If set, reverse dns lookups will be performed to attempt to convert
110 ; the user's IP number into a host name, in the case where the http
111 ; server does not do this.
112 ENABLE_REVERSE_DNS = true
113
114 ; Username and password of administrator.
115 ;
116 ; Set these to your preferences. For heaven's sake pick a good
117 ; password and use the passencrypt.php tool to encrypt the password from
118 ; prying eyes.
119 ; http://wolfram.org/writing/howto/password.html
120
121 ; Logging into the wiki with the admin user and password allows you to lock,
122 ; unlock, or remove pages and to perform other PhpWikiAdministration
123 ; functions. On all other occasions you should simply log in with your
124 ; regular WikiName.
125 ; If your password contains special chars like ";" or ":" better quote it in double-quotes.
126 ;ADMIN_USER = 
127 ; ADMIN_PASSWD is ignored on HttpAuth
128 ;ADMIN_PASSWD =
129
130 ; It is recommended that you use the passencrypt.php utility to encode the
131 ; admin password, in the event that someone gains ftp or ssh access to the
132 ; server and directory containing phpwiki. Once you have pasted the
133 ; encrypted password into ADMIN_PASSWD, uncomment this next line.
134 ENCRYPTED_PASSWD = true
135
136 ; Private ZIP Dumps of All Wiki Pages
137 ;
138 ; If true, only the admin user can make zip dumps. Otherwise anyone
139 ; may download all wiki pages as a single zip archive.
140 ZIPDUMP_AUTH = false
141
142 ; The RawHtml plugin allows page authors to embed real, raw HTML into Wiki
143 ; pages.  This is a possible security threat, as much HTML (or, rather,
144 ; JavaScript) can be very risky.  If you are in a controlled environment,
145 ; however, it could be of use.
146 ENABLE_RAW_HTML = true
147 ; If this is set, only pages locked by the Administrator may contain the RawHtml plugin
148 ENABLE_RAW_HTML_LOCKEDONLY = true
149 ; If this is set, all unsafe html code is stripped automatically (experimental!)
150 ; See http://chxo.com/scripts/safe_html-test.php
151 ENABLE_RAW_HTML_SAFE = true
152
153 ; If you define this to true, (MIME-type) page-dumps (either zip dumps,
154 ; or "dumps to directory" will be encoded using the quoted-printable
155 ; encoding.  If you're actually thinking of mailing the raw page dumps,
156 ; then this might be useful, since (among other things,) it ensures
157 ; that all lines in the message body are under 80 characters in length.
158 ;
159 ; Also, setting this will cause a few additional mail headers
160 ; to be generated, so that the resulting dumps are valid
161 ; RFC 2822 e-mail messages.
162 ;
163 ; Probably you can just leave this set to false, in which case you get
164 ; raw ('binary' content-encoding) page dumps.
165 STRICT_MAILABLE_PAGEDUMPS = false
166
167 ; Here you can change the default dump directories.
168 ; (Can be overridden by the directory argument)
169 DEFAULT_DUMP_DIR = /tmp/wikidump
170 HTML_DUMP_DIR    = /tmp/wikidumphtml
171 ; Filename suffix used for XHTML page dumps.
172 ; If you don't want any suffix just comment this out.
173 HTML_DUMP_SUFFIX = .html
174
175 ; The maximum file upload size, in bytes.
176 ; The default, 16777216, is 16MB.
177 MAX_UPLOAD_SIZE = 16777216
178
179 ; If the last edit is older than MINOR_EDIT_TIMEOUT seconds, the
180 ; default state for the "minor edit" checkbox on the edit page form
181 ; will be off.
182 ; The default, 604800, is one week (7 days)
183 MINOR_EDIT_TIMEOUT = 604800
184
185 ; Actions listed in this array will not be allowed.  The complete list
186 ; of actions can be found in lib/main.php with the function
187 ; getActionDescription.
188 ; DISABLED_ACTIONS = "dumpserial : loadfile"
189
190 ; If you enable this option every page is moderated by the ModeratedPage
191 ; action page plugin. Changing a moderated page will be delayed to be 
192 ; granted by a moderator by email.
193 ; ENABLE_MODERATEDPAGE_ALL = true
194
195 ; PhpWiki can generate an access_log (in "NCSA combined log" format)
196 ; for you. If you want one, define this to the name of the log
197 ; file. The server must have write access to the directory specified.
198 ; Note that even you define ACCESS_LOG_SQL logs are written to this file also.
199 ;ACCESS_LOG = /var/tmp/wiki_access_log
200
201 ; PhpWiki can read and/or write mod_log_sql accesslog tables for faster
202 ; abuse detection and referer lists.
203 ; If defined (e.g. 1) read-access is done via SQL. 
204 ; If flag 2 is set, phpwiki also writes. (Default on SQL or ADODB)
205 ; This must use DATABASE_TYPE = SQL or ADODB
206 ;ACCESS_LOG_SQL = 1 ; phpwiki reads, apache mod_log_sql writes
207 ;ACCESS_LOG_SQL = 2 ; read + write
208
209 ; By default PhpWiki will try to have PHP compress its output
210 ; before sending it to the browser, if you have a recent enough
211 ; version of PHP and the browser and action supports it.
212 ; Define COMPRESS_OUTPUT to false to prevent output compression.
213 ; Define COMPRESS_OUTPUT to true to force output compression,
214 ; even if we think your version of PHP does this in a buggy
215 ; fashion.
216 ; Leave it undefined to leave the choice up to PhpWiki. (Recommended)
217 ;
218 ; WARNING: Compressing the output has been reported to cause problems
219 ; when PHP is running on MacOSX or on redirected requests.
220 ; This setting should now be correctly determined automatically.
221 ;COMPRESS_OUTPUT = false
222
223 ; This controls how PhpWiki sets the HTTP cache control
224 ; headers (Expires: and Cache-Control:) 
225 ;
226 ; Choose one of:
227 ;
228 ; NO_CACHE: This is roughly the old (pre 1.3.4) behavior.  PhpWiki will
229 ;       instruct proxies and browsers never to cache PhpWiki output.
230 ;       This was previously called 'NONE', but NONE was treated specially 
231 ;       by parse_ini_config().
232 ;
233 ; STRICT: Cached pages will be invalidated whenever the database global
234 ;       timestamp changes.  This should behave just like NONE (modulo
235 ;       bugs in PhpWiki and your proxies and browsers), except that
236 ;       things will be slightly more efficient.
237 ;
238 ; LOOSE: Cached pages will be invalidated whenever they are edited,
239 ;       or, if the pages include plugins, when the plugin output could
240 ;       concievably have changed.
241 ;
242 ;       Behavior should be much like STRICT, except that sometimes
243 ;       wikilinks will show up as undefined (with the question mark)
244 ;       when in fact they refer to (recently) created pages.
245 ;       (Hitting your browsers reload or perhaps shift-reload button
246 ;       should fix the problem.)
247 ;
248 ; ALLOW_STALE: Proxies and browsers will be allowed to used stale pages.
249 ;       (The timeout for stale pages is controlled by CACHE_CONTROL_MAX_AGE.)
250 ;
251 ;       This setting will result in quirky behavior.  When you edit a
252 ;       page your changes may not show up until you shift-reload the
253 ;       page, etc...
254 ;
255 ;       This setting is generally not advisable, however it may be useful
256 ;       in certain cases (e.g. if your wiki gets lots of page views,
257 ;       and few edits by knowledgable people who won't freak over the quirks.)
258 ;
259 ; The recommended default is currently LOOSE.
260 ;
261 CACHE_CONTROL = LOOSE
262
263 ; Maximum page staleness, in seconds.
264 ;
265 ; This only has effect if CACHE_CONTROL is set to ALLOW_STALE.
266 CACHE_CONTROL_MAX_AGE = 600
267
268 ; PhpWiki normally caches a preparsed version (i.e. mostly
269 ; converted to HTML) of the most recent version of each page.
270 ; (Parsing the wiki-markup takes a fair amount of CPU.)
271 ; Define WIKIDB_NOCACHE_MARKUP to true to disable the
272 ; caching of marked-up page content.
273 ; Note that you can also disable markup caching on a per-page
274 ; temporary basis by addinging a query arg of '?nocache=1'
275 ; to the URL to the page or by adding a NoCache plugin line. 
276 ; Use '?nocache=purge' to completely discard the cached version of the page.
277 ; You can also purge the cached markup globally by using the
278 ; "Purge Markup Cache" button on the PhpWikiAdministration page.
279 ; Enable only for old php's with low memory or memory_limit=8MB.
280 ; Default: false
281 ;WIKIDB_NOCACHE_MARKUP = true
282
283 COOKIE_EXPIRATION_DAYS = 365
284 ; Default path for the wikiuser cookie. You need to specify this more explicitly
285 ; if you want to enable different users on different wikis on the same host.
286 ;COOKIE_DOMAIN = "/"
287
288 ;======================================================================
289 ; Part Two: Database Selection
290 ;======================================================================
291
292 ; Select the database type:
293 ;
294 ;       SQL:   access one of several SQL databases using the PEAR DB library.
295 ;       ADODB: uses the ADODB library for data access.     (most general)
296 ;       dba:   use one of the standard UNIX dbm libraries. (fastest)
297 ;       file:  use a flat file database. (easiest)
298 ;       cvs:   use a CVS server to store everything. (experimental, not recommended)
299 DATABASE_TYPE = dba
300    
301 ; prefix for filenames or table names
302 ;
303 ; Currently you MUST EDIT THE SQL file too (in the schemas/
304 ; directory because we aren't doing on the fly sql generation
305 ; during the installation.
306 ; Note: This prefix is NOT prepended to the default DBAUTH_
307 ;       tables user, pref and member!
308 ;DATABASE_PREFIX = phpwiki_
309
310 ; For SQL based backends, specify the database as a DSN (Data Source Name),
311 ; a kind of URL for databases.
312 ;
313 ; The most general form of a DSN looks like:
314 ;
315 ;       dbtype(dbsyntax)://username:password@protocol+hostspec/database?option=value&option2=value2
316 ;
317 ; For a MySQL database, the following should work:
318 ;
319 ;       mysql://user:password@host/databasename
320 ;
321 ; To connect over a unix socket, use something like
322 ;
323 ;       mysql://user:password@unix(/path/to/socket)/databasename
324 ;
325 ; Valid values for dbtype are mysql, pgsql, or sqlite.
326 ;
327 DATABASE_DSN = "mysql://guest@unix(/var/lib/mysql/mysql.sock)/test"
328
329 ; Keep persistent connections: (mysql_pconnect, ...)
330 ; Recommended is false for bigger servers, and true for small servers 
331 ; with not so many connections. postgresql: Please leave it false. Default: false
332 ; Should really be set as database option in the DSN above.
333 DATABASE_PERSISTENT = false
334
335 ; A table to store session information.  Only needed by SQL backends.
336 ;
337 ; A word of warning - any prefix defined above will be prepended to whatever
338 ; is given here.
339 DATABASE_SESSION_TABLE = session
340
341 ; For the file and dba backends, this specifies where the data files will be
342 ; located.  Ensure that the user that the webserver runs as has write access
343 ; to this directory.
344 ;
345 ; WARNING: leaving this as the default of '/tmp' will almost guarantee that
346 ; you'll lose your wiki data at some stage.
347 DATABASE_DIRECTORY = /tmp
348
349 ; For the dba backend, this defines which DBA variant you wish to use.
350 ;       gdbm - commonly available, Fedora not
351 ;       db2 - Berkeley DB v2; not supported by modern versions of PHP
352 ;       db3 - Berkeley DB v3; as per db2. The best on Windows
353 ;       db4 - Berkeley DB v4; current version, however PHP has some issues
354 ;               with it's db4 support.
355 ;       dbm - Older dba handler; suffers from limits on the size of data
356 ;               items
357 DATABASE_DBA_HANDLER = gdbm
358
359 ; How long will the system wait for a database operation to complete?
360 ; Specified in seconds.
361 DATABASE_TIMEOUT = 5
362
363 ; If action=upgrade detects mysql problems, but has no ALTER permissions, 
364 ; give here a user which has the necessary ALTER or CREATE permissions.
365 ; Of course you can fix your database manually. See lib/upgrade.php for known issues.
366 ;DBADMIN_USER = root
367 ;DBADMIN_PASSWD = secret
368
369 ; The login code now uses PHP's session support. Usually, the default
370 ; configuration of PHP is to store the session state information in
371 ; /tmp. That probably will work fine, but fails e.g. on clustered
372 ; servers where each server has their own distinct /tmp (this is the
373 ; case on SourceForge's project web server.) You can specify an
374 ; alternate directory in which to store state information like so
375 ; (whatever user your httpd runs as must have read/write permission
376 ; in this directory):
377 ;SESSION_SAVE_PATH = some_other_directory
378
379 ;========================================================================
380 ; Section 3a: Page revisions
381 ;
382 ; The next section controls how many old revisions of each page are
383 ; kept in the database.
384 ;========================================================================
385 ;
386 ; There are two basic classes of revisions: major and minor. Which
387 ; class a revision belongs in is determined by whether the author
388 ; checked the "this is a minor revision" checkbox when they saved the
389 ; page.
390
391 ; There is, additionally, a third class of revisions: author
392 ; revisions. The most recent non-mergable revision from each distinct
393 ; author is an author revision.
394 ;
395 ; The expiry parameters for each of those three classes of revisions
396 ; can be adjusted seperately. For each class there are five
397 ; parameters (usually, only two or three of the five are actually
398 ; set) which control how long those revisions are kept in the
399 ; database.
400 ;
401 ;   MAX_KEEP: If set, this specifies an absolute maximum for the
402 ;             number of archived revisions of that class. This is
403 ;             meant to be used as a safety cap when a non-zero
404 ;             min_age is specified. It should be set relatively high,
405 ;             and it's purpose is to prevent malicious or accidental
406 ;             database overflow due to someone causing an
407 ;             unreasonable number of edits in a short period of time.
408 ;
409 ;   MIN_AGE:  Revisions younger than this (based upon the supplanted
410 ;             date) will be kept unless max_keep is exceeded. The age
411 ;             should be specified in days. It should be a
412 ;             non-negative, real number,
413 ;
414 ;   MIN_KEEP: At least this many revisions will be kept.
415 ;
416 ;   KEEP: No more than this many revisions will be kept.
417 ;
418 ;   MAX_AGE:  No revision older than this age will be kept.
419 ;
420 ; Definitions of terms used above:
421 ;
422 ; Supplanted date: Revisions are timestamped at the instant that they
423 ; cease being the current revision. Revision age is computed using
424 ; this timestamp, not the edit time of the page.
425 ;
426 ; Merging: When a minor revision is deleted, if the preceding
427 ; revision is by the same author, the minor revision is merged with
428 ; the preceding revision before it is deleted. Essentially: this
429 ; replaces the content (and supplanted timestamp) of the previous
430 ; revision with the content after the merged minor edit, the rest of
431 ; the page metadata for the preceding version (summary, mtime, ...)
432 ; is not changed.
433 ;
434 ; Keep up to 8 major edits, but keep them no longer than a month.
435 MAJOR_MAX_AGE = 32
436 MAJOR_KEEP = 8
437
438 ; Keep up to 4 minor edits, but keep them no longer than a week.
439 MINOR_MAX_AGE = 7
440 MINOR_KEEP = 4
441
442 ; Keep the latest contributions of the last 8 authors up to a year.
443 ; Additionally, (in the case of a particularly active page) try to
444 ; keep the latest contributions of all authors in the last week (even
445 ; if there are more than eight of them,) but in no case keep more
446 ; than twenty unique author revisions.
447 AUTHOR_MAX_AGE = 365
448 AUTHOR_KEEP = 8
449 AUTHOR_MIN_AGE = 7
450 AUTHOR_MAX_KEEP = 20
451
452 ;========================================================================
453 ; Part Three: User Authentication
454 ;========================================================================
455 ;
456 ; New user authentication configuration:
457 ; We support three basic authentication methods and a stacked array 
458 ; of advanced auth methods to get and check the passwords:
459 ;
460 ; ALLOW_ANON_USER         default true
461 ; ALLOW_ANON_EDIT         default true
462 ; ALLOW_BOGO_LOGIN        default true
463 ; ALLOW_USER_PASSWORDS    default true
464
465 ; allow anon users to view existing pages
466 ALLOW_ANON_USER = true
467 ; allow anon users to edit pages
468 ALLOW_ANON_EDIT = true
469
470 ; If ALLOW_BOGO_LOGIN is true, users are allowed to login (with
471 ; any/no password) using any userid which: 
472 ;  1) is not the ADMIN_USER, and
473 ;  2) is a valid WikiWord (matches $WikiNameRegexp.)
474 ; If true, users may be created by themselves. Otherwise we need seperate auth. 
475 ; If such a user will create a so called HomePage with his userid, he will 
476 ; be able to store his preferences and password there.
477 ALLOW_BOGO_LOGIN = true
478
479 ; True User Authentication:
480 ; To require user passwords:
481 ;   ALLOW_ANON_USER = false
482 ;   ALLOW_ANON_EDIT = false
483 ;   ALLOW_BOGO_LOGIN = false,
484 ;   ALLOW_USER_PASSWORDS = true.
485 ; Otherwise any anon or bogo user might login without any or a wrong password.
486 ALLOW_USER_PASSWORDS = true
487
488 ; Many different methods can be used to check user's passwords:
489 ;   BogoLogin:     WikiWord username, with no *actual* password checking,
490 ;                   although the user will still have to enter one.
491 ;   PersonalPage:  Store passwords in the users homepage metadata (simple)
492 ;   Db:            Use DBAUTH_AUTH_* (see below) with PearDB or 
493 ;                   ADODB only.
494 ;   LDAP:          Authenticate against LDAP_AUTH_HOST with LDAP_BASE_DN (experimental)
495 ;   IMAP:          Authenticate against IMAP_AUTH_HOST (email account)
496 ;   POP3:          Authenticate against POP3_AUTH_HOST (email account)
497 ;   File:          Store username:crypted-passwords in .htaccess like files. 
498 ;                  Use Apache's htpasswd to manage this file.
499 ;   HttpAuth:      Use the protection by the webserver (.htaccess/.htpasswd)
500 ;                  Enforcing HTTP Auth not yet. Note that the ADMIN_USER should exist also.
501 ;                  Using HttpAuth disables all other methods and no userauth sessions are used.
502 ;
503 ; Several of these methods can be used together, in the manner specified by
504 ; USER_AUTH_POLICY, below.  To specify multiple authentication methods,
505 ; separate the name of each one with colons.
506 ;USER_AUTH_ORDER = "PersonalPage : Db"
507 ;USER_AUTH_ORDER = "BogoLogin : PersonalPage"
508
509 ; For "security" purposes, you can specify that a password be at least a
510 ; certain number of characters long.  This applies even to the BogoLogin
511 ; method. Default: 0 (to allow immediate passwordless BogoLogin)
512 ;PASSWORD_LENGTH_MINIMUM = 6
513     
514 ; The following policies are available for user authentication:
515 ;       first-only: use only the first method in USER_AUTH_ORDER
516 ;       old:        ignore USER_AUTH_ORDER and try to use all available 
517 ;                       methods as in the previous PhpWiki releases (slow)
518 ;       strict:     check if the user exists for all methods: 
519 ;                       on the first existing user, try the password. 
520 ;                       dont try the other methods on failure then
521 ;       stacked:    check the given user - password combination for all
522 ;                       methods and return true on the first success.
523 USER_AUTH_POLICY = stacked
524
525 ; LDAP authentication options:
526 ;
527 ; The LDAP server to connect to.  Can either be a hostname, or a complete
528 ; URL to the server (useful if you want to use ldaps or specify a different
529 ; port number).
530 ;LDAP_AUTH_HOST = "ldap://localhost:389"
531
532 ; The organizational or domain BASE DN: e.g. "dc=mydomain,dc=com".
533 ;
534 ; Note: ou=Users and ou=Groups are used for GroupLdap Membership
535 ; Better use LDAP_OU_USERS and LDAP_OU_GROUP with GROUP_METHOD=LDAP.
536 ;LDAP_BASE_DN = "ou=Users,o=Development,dc=mycompany.com"
537
538 ; Some LDAP servers need some more options, such as the Windows Active
539 ; Directory Server.  Specify the options (as allowed by the PHP LDAP module)
540 ; and their values as NAME=value pairs separated by colons.
541 ; LDAP_SET_OPTION = "LDAP_OPT_PROTOCOL_VERSION=3:LDAP_OPT_REFERRALS=0"
542
543 ; DN to initially bind to the LDAP server as. This is needed if the server doesn't 
544 ; allow anonymous queries. (Windows Active Directory Server)
545 ; LDAP_AUTH_USER = "CN=ldapuser,ou=Users,o=Development,dc=mycompany.com"
546
547 ; Password to use to initially bind to the LDAP server, as the DN 
548 ; specified in the LDAP_AUTH_USER option (above).
549 ; LDAP_AUTH_PASSWORD = secret
550
551 ; If you want to match usernames against an attribute other than uid,
552 ; specify it here. Default: uid
553 ; LDAP_SEARCH_FIELD = sAMAccountName
554
555 ; If you have an organizational unit for all users, define it here.
556 ; This narrows the search, and is needed for LDAP group membership (if GROUP_METHOD=LDAP)
557 ; Default: ou=Users
558 ; LDAP_OU_USERS = ou=Users
559
560 ; If you have an organizational unit for all groups, define it here.
561 ; This narrows the search, and is needed for LDAP group membership (if GROUP_METHOD=LDAP)
562 ; The entries in this ou must have a gidNumber and cn attribute.
563 ; Default: ou=Groups
564 ; LDAP_OU_GROUP = ou=Groups
565
566
567 ; IMAP authentication options:
568 ;
569 ; The IMAP server to check usernames from.  Defaults to localhost.
570 ;
571 ; Some IMAP_AUTH_HOST samples:
572 ;   "localhost", "localhost:143/imap/notls", 
573 ;   "localhost:993/imap/ssl/novalidate-cert" (SuSE refuses non-SSL conections)
574 ; IMAP_AUTH_HOST = "localhost:143/imap/notls"
575
576 ; POP3 authentication options:
577 ;
578 ; Host to connect to.
579 ; POP3_AUTH_HOST = "localhost:110"
580
581 ; Port to connect. Deprecated: Use POP3_AUTH_HOST:<port> instead
582 ; POP3_AUTH_PORT = 110
583
584 ; File authentication options:
585 ;
586 ; File to read for authentication information.
587 ; Popular choices are /etc/shadow and /etc/httpd/.htpasswd
588 ; AUTH_USER_FILE = /etc/shadow
589
590 ; Defines whether the user is able to change their own password via PHPWiki.
591 ; Note that this means that the webserver user must be able to write to the
592 ; file specified in AUTH_USER_FILE.
593 ; AUTH_USER_FILE_STORABLE = false
594
595 ; Session Auth:
596 ; Name of the session variable which holds the already authenticated username.
597 ; Sample: "userid", "user[username]", "user->username"
598 ; AUTH_SESS_USER = userid
599 ; Which level will the user be? 1 = Bogo or 2 = Pass
600 ; AUTH_SESS_LEVEL = 2
601
602 ; Group membership.  PhpWiki supports defining permissions for a group as
603 ; well as for individual users.  This defines how group membership information
604 ; is obtained.  Supported values are:
605 ;
606 ;       "NONE"          Disable group membership (Fastest). Note the required quoting.
607 ;       WIKIPAGE        Define groups as list at "CategoryGroup". (Slowest, but easiest to maintain)
608 ;       DB              Stored in an SQL database. Optionally external. See USERS/GROUPS queries
609 ;       FILE            Flatfile. See AUTH_GROUP_FILE below.
610 ;       LDAP            LDAP groups. See "LDAP authentication options" above and 
611 ;                       lib/WikiGroup.php. (experimental)
612 GROUP_METHOD = WIKIPAGE
613
614 ; Page where all groups are listed. Default: Translation of "CategoryGroup"
615 ; CATEGORY_GROUP_PAGE = CategoryGroup
616
617 ; For GROUP_METHOD = FILE, the file given below is referenced to obtain
618 ; group membership information.  It should be in the same format as the
619 ; standard unix /etc/groups(5) file.
620 ; AUTH_GROUP_FILE = /etc/groups
621
622 ; External database authentication and authorization.
623 ;
624 ; If USER_AUTH_ORDER includes Db, or GROUP_METHOD = DB, the options listed
625 ; below define the SQL queries used to obtain the information out of the
626 ; database, and (in some cases) store the information back to the DB.
627 ;
628 ; The options appropriate for each query are currently undocumented, and
629 ; you should not be surprised if things change mightily in the future.
630 ;
631 ; A database DSN to connect to.  Defaults to the DSN specified for the Wiki
632 ; as a whole.
633 ; DBAUTH_AUTH_DSN = "mysql://wikiuser:@localhost/phpwiki"
634 ;
635 ; USER/PASSWORD queries
636 ;
637 ; For USER_AUTH_POLICY=strict and the Db method this is required:
638 ; DBAUTH_AUTH_USER_EXISTS = "SELECT userid FROM user WHERE userid='$userid'"
639 ;
640 ; Check to see if the supplied username/password pair is OK
641 ;
642 ; plaintext passwords:
643 ; DBAUTH_AUTH_CHECK = "SELECT IF(passwd='$password',1,0) AS ok FROM user WHERE userid='$userid'"
644 ;
645 ; database-hashed passwords (more secure):
646 ; DBAUTH_AUTH_CHECK = "SELECT IF(passwd=PASSWORD('$password'),1,0) AS ok FROM user WHERE userid='$userid'"
647 DBAUTH_AUTH_CRYPT_METHOD = plain
648
649 ; If you want to use Unix crypt()ed passwords, you can use DBAUTH_AUTH_CHECK
650 ; to get the password out of the database with a simple SELECT query, and
651 ; specify DBAUTH_AUTH_USER_EXISTS and DBAUTH_AUTH_CRYPT_METHOD:
652 ; DBAUTH_AUTH_CHECK = "SELECT passwd FROM user where userid='$userid'"
653 ; DBAUTH_AUTH_CRYPT_METHOD = crypt
654 ;
655 ; Update the user's authentication credential.  If this is not defined but
656 ; DBAUTH_AUTH_CHECK is, then the user will be unable to update their
657 ; password.
658 ;
659 ; Plaintext passwords:
660 ; DBAUTH_AUTH_UPDATE = "UPDATE user SET passwd='$password' WHERE userid='$userid'"
661 ; Database-hashed passwords:
662 ; DBAUTH_AUTH_UPDATE = "UPDATE user SET passwd=PASSWORD('$password') WHERE userid='$userid'"
663 ;
664 ; Allow the user to create their own account.
665 ; DBAUTH_AUTH_CREATE = "INSERT INTO user SET passwd=PASSWORD('$password'),userid='$userid'"
666
667 ; USER/PREFERENCE queries
668 ;
669 ; If you choose to store your preferences in an external database, enable
670 ; the following queries.  Note that if you choose to store user preferences
671 ; in the 'user' table, only registered users get their prefs from the database,
672 ; self-created users do not.  Better to use the special 'pref' table.
673 ;
674 ; The prefs field stores the serialized form of the user's preferences array,
675 ; to ease the complication of storage.
676 ; DBAUTH_PREF_SELECT = "SELECT prefs FROM user WHERE userid='$userid'"
677 ; DBAUTH_PREF_SELECT = "SELECT prefs FROM pref WHERE userid='$userid'"
678
679 ; Update the user's preferences
680 ; DBAUTH_PREF_UPDATE = "UPDATE user SET prefs='$pref_blob' WHERE userid='$userid'"
681 ; Note that REPLACE works only with mysql and destroy all other columns!
682 ; DBAUTH_PREF_UPDATE = "REPLACE INTO pref SET prefs='$pref_blob',userid='$userid'"
683
684 ; USERS/GROUPS queries
685 ;
686 ; You can define 1:n or n:m user<=>group relations, as you wish.
687 ;
688 ; Sample configurations:
689 ;  only one group per user (1:n):
690 ;   DBAUTH_IS_MEMBER = "SELECT user FROM user WHERE user='$userid' AND group='$groupname'"
691 ;   DBAUTH_GROUP_MEMBERS = "SELECT user FROM user WHERE group='$groupname'"
692 ;   DBAUTH_USER_GROUPS = "SELECT group FROM user WHERE user='$userid'"
693 ;  multiple groups per user (n:m):
694 ;   DBAUTH_IS_MEMBER = "SELECT userid FROM member WHERE userid='$userid' AND groupname='$groupname'"
695 ;   DBAUTH_GROUP_MEMBERS = "SELECT DISTINCT userid FROM member WHERE groupname='$groupname'"
696 ;   DBAUTH_USER_GROUPS = "SELECT groupname FROM member WHERE userid='$userid'"
697
698 ; A interim page which gets displayed on every edit attempt, if it exists.
699 ;EDITING_POLICY = EditingPolicy
700
701 ;========================================================================
702 ; Part Four: Page appearance and layout
703 ;========================================================================
704
705 ; THEMES
706 ;
707 ; Most of the page appearance is controlled by files in the theme
708 ; subdirectory.
709 ;
710 ; There are a number of pre-defined themes shipped with PhpWiki.
711 ; Or you may create your own (e.g. by copying and then modifying one of
712 ; stock themes.)
713 ;
714 ; The complete list of installed themes can be found by doing 'ls themes/'
715 ; from the root of your PHPWiki installation.
716 ; white on yellow with fat blue links:
717 THEME = default
718 ; almost fully iconized classic grey MacOSX design:
719 ;THEME = MacOSX
720 ; as default, just some tricks to make the buttons smaller:
721 ;THEME = smaller
722 ; the popular Wordpress layout:
723 ;THEME = Wordpress
724 ; pure old-style c2wiki layout:
725 ;THEME = Portland
726 ; random heavy images:
727 ;THEME = Hawaiian
728 ; example with some sidebar boxes:
729 ;THEME = Sidebar
730 ; mozilla friendly, with lots of icons instead of buttons (i18n friendly):
731 ;THEME = Crao
732 ; wikipedia layout:
733 ;THEME = MonoBook
734 ; default + rateit navbar:
735 ;THEME = wikilens
736 ; blogger style, rounded:
737 ;THEME = blog
738 ; minimalistic:
739 ;THEME = shamino_com
740 ; heavy space-y layout:
741 ;THEME = SpaceWiki
742
743 ; Select a valid charset name to be inserted into the xml/html pages,
744 ; and to reference links to the stylesheets (css). For more info see:
745 ; <http://www.iana.org/assignments/character-sets>. Note that PhpWiki
746 ; has been extensively tested only with the latin1 (iso-8859-1)
747 ; character set.
748 ;
749 ; If you change the default from iso-8859-1 PhpWiki may not work
750 ; properly and will require modifications in all existing pages. 
751 ; At the very least you will have to convert the files in pgsrc 
752 ; or locale/xx/pgsrc to match!
753 ; Currently we support utf-8 for zh and ja, euc-jp for ja (not enabled)
754 ; and iso-8859-1 for all other langs. Changing languages (UserPreferences) 
755 ; from one charset to another will not work!
756 ;
757 ; Character sets similar to iso-8859-1 may work with little or no
758 ; modification depending on your setup. The database must also
759 ; support the same charset, and of course the same is true for the
760 ; web browser. (Some work is in progress hopefully to allow more
761 ; flexibility in this area in the future).
762 CHARSET = iso-8859-1
763
764 ; Select your language/locale - Default language is "" for auto-detected.
765 ; Available languages:
766 ; English  "en" (English    - HomePage)
767 ; Dutch    "nl" (Nederlands - ThuisPagina)
768 ; Spanish  "es" (Español    - PáginaPrincipal)
769 ; French   "fr" (Français   - PageAccueil))
770 ; German   "de" (Deutsch    - StartSeite)
771 ; Swedish  "sv" (Svenska    - Framsida)
772 ; Italian  "it" (Italiano   - PaginaPrincipale)
773 ; Japanese "ja" (Japanese   - Â¥Ã›Â¡Â¼Â¥Ã Â¥ÃšÂ¡Â¼Â¥Â¸)
774 ; Chinese  "zh" (Chinese    - ?)
775 ;
776 ; If you set DEFAULT_LANGUAGE to the empty string, the users 
777 ; preferred language as determined by the browser setting will be used.
778 ; Japanese requires CHARSET=euc-jp or utf-8 (not yet safe), Chinese CHARSET=utf-8
779 ;DEFAULT_LANGUAGE = en
780
781 ; WIKI_PGSRC -- specifies the source for the initial page contents of
782 ; the Wiki. The setting of WIKI_PGSRC only has effect when the wiki is
783 ; accessed for the first time (or after clearing the database.)
784 ; WIKI_PGSRC can either name a directory or a zip file. In either case
785 ; WIKI_PGSRC is scanned for files -- one file per page.
786 ;WIKI_PGSRC = pgsrc
787
788 ; DEFAULT_WIKI_PGSRC is only used when the language is *not* the
789 ; default (English) and when reading from a directory: in that case
790 ; some English pages are inserted into the wiki as well.
791 ; DEFAULT_WIKI_PGSRC defines where the English pages reside.
792 ;DEFAULT_WIKI_PGSRC = pgsrc
793 ; These are ':'-seperated pages which will get loaded untranslated from DEFAULT_WIKI_PGSRC.
794 ;DEFAULT_WIKI_PAGES = "ReleaseNotes:SteveWainstead:TestPage"
795
796 ;=========================================================================
797 ; Part Five: Mark-up options.
798 ;=========================================================================
799 ;
800 ; allowed protocols for links - be careful not to allow "javascript:"
801 ; URL of these types will be automatically linked.
802 ; within a named link [name|uri] one more protocol is defined: phpwiki
803 ; Separate each of the protocol names with a vertical pipe, and ensure there
804 ; is no extraneous whitespace.
805 ;ALLOWED_PROTOCOLS = "http|https|mailto|ftp|news|nntp|ssh|gopher"
806
807 ; URLs ending with the following extension should be inlined as images.
808 ; Specify as per ALLOWED_PROTOCOLS
809 ;INLINE_IMAGES = "png|jpg|gif"
810
811 ; Perl regexp for WikiNames ("bumpy words")
812 ; (?<!..) & (?!...) used instead of '\b' because \b matches '_' as well
813 ;WIKI_NAME_REGEXP = "(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
814
815 ; Defaults to '/', but '.' was also used.
816 ;SUBPAGE_SEPARATOR = /
817
818 ; InterWiki linking -- wiki-style links to other wikis on the web
819 ;
820 ; The map will be taken from a page name InterWikiMap.
821 ; If that page is not found (or is not locked), or map
822 ; data can not be found in it, then the file specified
823 ; by INTERWIKI_MAP_FILE (if any) will be used.
824 ;INTERWIKI_MAP_FILE = lib/interwiki.map
825
826 ; Display a warning if the internal lib/interwiki.map is used, and 
827 ; not the public InterWikiMap page. This file is not readable from outside.
828 ;WARN_NONPUBLIC_INTERWIKIMAP = false
829
830 ; Search term used for automatic page classification by keyword extraction.
831 ;
832 ; Any links on a page to pages whose names match this search 
833 ; will be used keywords in the keywords html meta tag. This is an aid to
834 ; classification by search engines. The value of the match is
835 ; used as the keyword.
836 ;
837 ; The default behavior is to match Category* or Topic* links.
838 ;KEYWORDS = "Category* OR Topic*"
839
840 ; Author and Copyright Site Navigation Links
841 ;
842 ; These will be inserted as <link rel> tags in the html header of
843 ; every page, for search engines and for browsers like Mozilla which
844 ; take advantage of link rel site navigation.
845 ;
846 ; If you have your own copyright and contact information pages change
847 ; these as appropriate.
848 ;COPYRIGHTPAGE_TITLE = "GNU General Public License"
849 ;COPYRIGHTPAGE_URL = "http://www.gnu.org/copyleft/gpl.html#SEC1"
850 ; Other useful alternatives to consider:
851 ; COPYRIGHTPAGE_TITLE = "GNU Free Documentation License"
852 ; COPYRIGHTPAGE_URL = "http://www.gnu.org/copyleft/fdl.html"
853 ; COPYRIGHTPAGE_TITLE = "Creative Commons License 2.0"
854 ; COPYRIGHTPAGE_URL = "http://creativecommons.org/licenses/by/2.0/"
855 ;  see http://creativecommons.org/learn/licenses/ for variations
856 ;AUTHORPAGE_TITLE = The PhpWiki Programming Team
857 ;AUTHORPAGE_URL = http://phpwiki.org/ThePhpWikiProgrammingTeam
858
859 ; Allow full markup in headers to be parsed by the CreateToc plugin.
860 ;
861 ; If false you may not use WikiWords or [] links or any other markup in 
862 ; headers in pages with the CreateToc plugin. But if false the parsing is 
863 ; faster and more stable.
864 ;TOC_FULL_SYNTAX = true
865
866 ;==========================================================================
867 ; Part Six: URL options.
868 ;==========================================================================
869 ;
870 ; You can probably skip this section.
871
872 ; The following section contains settings which you can use to tailor
873 ; the URLs which PhpWiki generates.
874 ;
875 ; Any of these parameters which are left undefined will be deduced
876 ; automatically. You need only set them explicitly if the
877 ; auto-detected values prove to be incorrect.
878 ;
879 ; In most cases the auto-detected values should work fine, so
880 ; hopefully you don't need to mess with this section.
881 ;
882 ; In case of local overrides of short placeholders, which themselves 
883 ; include index.php, we check for most constants. See '/wiki'.
884 ; We can override DATA_PATH and PHPWIKI_DIR to support multiple phpwiki 
885 ; versions (for development), but most likely other values like 
886 ; THEME, LANG and DbParams for a WikiFarm.
887
888 ; Canonical name and httpd port of the server on which this PhpWiki
889 ; resides.
890 ;/
891 ;SERVER_NAME = some.host.com
892 ;SERVER_PORT = 80
893
894 ; Relative URL (from the server root) of the PhpWiki
895 ; script.
896 ;SCRIPT_NAME = /some/where/index.php
897
898 ; URL of the PhpWiki install directory.  (You only need to set this
899 ; if you've moved index.php out of the install directory.)  This can
900 ; be either a relative URL (from the directory where the top-level
901 ; PhpWiki script is) or an absolute one.
902 ;DATA_PATH = /home/user/phpwiki
903
904 ; Path to the PhpWiki install directory.  This is the local
905 ; filesystem counterpart to DATA_PATH.  (If you have to set
906 ; DATA_PATH, your probably have to set this as well.)  This can be
907 ; either an absolute path, or a relative path interpreted from the
908 ; directory where the top-level PhpWiki script (normally index.php)
909 ; resides.
910 ;PHPWIKI_DIR = /home/user/public_html/phpwiki
911
912 ; PhpWiki will try to use short urls to pages, eg 
913 ; http://www.example.com/index.php/HomePage
914 ; If you want to use urls like 
915 ; http://www.example.com/index.php?pagename=HomePage
916 ; then define 'USE_PATH_INFO' as false by uncommenting the line below.
917 ; NB:  If you are using Apache >= 2.0.30, then you may need to to use
918 ; the directive "AcceptPathInfo On" in your Apache configuration file
919 ; (or in an appropriate <.htaccess> file) for the short urls to work:  
920 ; See http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo
921
922 ; See also http://phpwiki.sourceforge.net/phpwiki/PrettyWiki for more ideas
923 ; on prettifying your urls.
924 ;
925 ; Note that Google doesn't follow the default /index.php/PageName links.
926 ; You must use either a PrettyWiki setup (see below), or force USE_PATH_INFO=false.
927 ;
928 ; Default: PhpWiki will try to divine whether use of PATH_INFO
929 ; is supported in by your webserver/PHP configuration, and will
930 ; use PATH_INFO if it thinks that is possible.
931 ;USE_PATH_INFO = false
932
933 ; VIRTUAL_PATH is the canonical URL path under which your your wiki
934 ; appears. Normally this is the same as dirname(SCRIPT_NAME), however
935 ; using, e.g. apaches mod_actions (or mod_rewrite), you can make it
936 ; something different.
937 ;
938 ; If you do this, you should set VIRTUAL_PATH here.
939 ;
940 ; E.g. your phpwiki might be installed at at /scripts/phpwiki/index.php,
941 ; but  * you've made it accessible through eg. /wiki/HomePage.
942 ;
943 ; One way to do this is to create a directory named 'wiki' in your
944 ; server root. The directory contains only one file: an .htaccess
945 ; file which reads something like:
946 ;
947 ;    Action x-phpwiki-page /scripts/phpwiki/index.php
948 ;    SetHandler x-phpwiki-page
949 ;    DirectoryIndex /scripts/phpwiki/index.php
950 ;
951 ; In that case you should set VIRTUAL_PATH to '/wiki'.
952 ;
953 ; (VIRTUAL_PATH is only used if USE_PATH_INFO is true.)
954 ;/
955 ;VIRTUAL_PATH = /SomeWiki
956
957 ; In case your system has no idea about /tmp, TEMP or TMPDIR, 
958 ; better provide it here. E.g. needed for zipdumps.
959 ;TEMP_DIR = /tmp
960
961 ;===========================================================================
962 ; Part Seven: Miscellaneous settings
963 ;===========================================================================
964
965 ; Disable HTTP redirects.
966 ; (You probably don't need to touch this.)
967 ;
968 ; PhpWiki uses HTTP redirects for some of it's functionality.
969 ; (e.g. after saving changes, PhpWiki redirects your browser to
970 ; view the page you just saved.)
971 ; Some web service providers (notably free European Lycos) don't seem to
972 ; allow these redirects.  (On Lycos the result in an "Internal Server Error"
973 ; report.)  In that case you can set DISABLE_HTTP_REDIRECT to true.
974 ; (In which case, PhpWiki will revert to sneakier tricks to try to
975 ; redirect the browser...)
976 ;DISABLE_HTTP_REDIRECT = true
977
978 ; Enable random quotes from a fortune directory when adding a new page.
979 ; Usually at /usr/share/fortune or /usr/share/games/fortune
980 ; If empty no quotes are inserted.
981 ;FORTUNE_DIR = /usr/share/fortune
982
983 ; If you get a crash at loading LinkIcons you might want to disable 
984 ; the getimagesize() function, which crashes on certain php versions and 
985 ; and some external images (png's, ..). 
986 ; getimagesize() is only needed for spam prevention.
987 ;DISABLE_GETIMAGESIZE = true
988
989 ; Experimental: For using the Google API
990 ;GOOGLE_LICENSE_KEY = "..."
991
992 ; Optional: administrative SQL DB access (for action=upgrade)
993 ;DBADMIN_USER = 
994 ;DBADMIN_PASSWD = 
995
996 ; Optional: external PDF executable, %s is the xhtml filename
997 ;USE_EXTERNAL_HTML2PDF = "htmldoc --quiet --format pdf14 --no-toc --no-title %s"
998
999 ; Optional: SPAMASSASSIN wrapper. Only used if ENABLE_SPAMASSASSIN = true
1000 BABYCART_PATH = /usr/local/bin/babycart
1001
1002 ; If true don't use UserName/Blog/day/time pagenames for the ADMIN_USER, but 
1003 ; Blog/day/time only. Convenience for a single-user blog theme.
1004 ;BLOG_DEFAULT_EMPTY_PREFIX = true
1005
1006 ;===========================================================================
1007 ; Part Eight: PLUGINCACHED Pear/Cache Settings
1008 ;===========================================================================
1009
1010 ; Cache_Container storage class: 'file' is the fastest. See pear/Cache/Container/
1011 ;PLUGIN_CACHED_DATABASE = file
1012
1013 ; This is only used if database is set to file.
1014 ; The webserver must have write access to this dir!
1015 ;PLUGIN_CACHED_CACHE_DIR = /tmp/cache
1016 ; Every file name in the cache begins with this prefix
1017 ;PLUGIN_CACHED_FILENAME_PREFIX = phpwiki
1018
1019 ; The maximum total space in bytes of all files in the cache. When
1020 ; highwater is exceeded, a garbage collection will start.  It will
1021 ; collect garbage till 'lowwater' is reached.  Default: 4 * Megabyte
1022 ;PLUGIN_CACHED_HIGHWATER = 4194304
1023 ; Default: 3 * Megabyte
1024 ;PLUGIN_CACHED_LOWWATER  = 3145728
1025
1026 ; If an image has not been used for maxlifetime remove it from the
1027 ; cache. (Since there is also the highwater/lowwater mechanism and an
1028 ; image usually requires only 1kb you don't have to make it very
1029 ; small, I think.)  
1030 ; Default: 30 * Day (30 * 24*60*60)
1031 ;PLUGIN_CACHED_MAXLIFETIME = 2592000
1032
1033 ; Number of characters allowed to be send as 
1034 ; parameters in the url before using sessions
1035 ; vars instead. 
1036 ; Usually send plugin arguments as URL, but when they become
1037 ; longer than maxarglen store them in session variables.
1038 ; Setting it to 3000 worked fine for me, 30000 completely
1039 ; crashed my linux, 1000 should be safe.
1040 ;PLUGIN_CACHED_MAXARGLEN = 1000
1041
1042 ; Actually use the cache (should be always true unless you are
1043 ; debugging). If you want to avoid the usage of a cache but need
1044 ; WikiPlugins that nevertheless rely on a cache you might set
1045 ; 'PLUGIN_CACHED_USECACHE' to false. You still need to set
1046 ; 'PLUGIN_CACHED_CACHE_DIR' appropriately to allow image creation and
1047 ; you should set 'PLUGIN_CACHED_FORCE_SYNCMAP' to false.
1048 ;PLUGIN_CACHED_USECACHE = true
1049
1050 ; Will prevent image creation for an image map 'on demand'. It is a
1051 ; good idea to set this to 'true' because it will also prevent the
1052 ; html part not to fit to the image of the map.  If you don't use a
1053 ; cache, you have to set it to 'false', maps will not work otherwise
1054 ; but strange effects may happen if the output of an image map
1055 ; producing WikiPlugin is not completely determined by its parameters.
1056 ; (As it is the case for a graphical site map.)
1057 ;PLUGIN_CACHED_FORCE_SYNCMAP = true
1058
1059 ; If ImageTypes() does not exist (PHP < 4.0.2) allow the
1060 ; following image formats (IMG_PNG | IMG_GIF | IMG_JPG | IMG_WBMP)
1061 ; In principal all image types which are compiled into php: 
1062 ;   libgd, libpng, libjpeg, libungif, libtiff, libgd2, ...
1063 ;PLUGIN_CACHED_IMGTYPES = "png|gif|gd|gd2|jpeg|wbmp|xbm|xpm"