From: Carsten K. <car...@us...> - 2002-01-09 15:52:17
|
Update of /cvsroot/phpwiki/phpwiki In directory usw-pr-cvs1:/tmp/cvs-serv3453 Modified Files: index.php Log Message: Added names to copyright notice from docs/CREDITS, please add any missing names. Removed question in comment for SCRIPT_NAME (this constant is in fact still used on the alpha server). Some text rewrapping in emacs. Index: index.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/index.php,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -r1.55 -r1.56 *** index.php 2002/01/09 04:01:08 1.55 --- index.php 2002/01/09 15:52:14 1.56 *************** *** 3,8 **** /* Copyright 2000??, 2001, 2002 $ThePhpWikiProgrammingTeam = array( ! "Steve Wainstead", ! ); This file is part of PhpWiki. --- 3,12 ---- /* Copyright 2000??, 2001, 2002 $ThePhpWikiProgrammingTeam = array( ! "Steve Wainstead", "Arno Hollosi", "Jeff Dairiki", ! "Aredridel Niothke", "Jan Nieuwenhuizen", "Sandino Araico Sánchez", ! "Jon Åslund", "Marco Milanesi", "Carsten Klapp", "Joel Uckelman", ! "Pablo Roca Rozas", "Scott R. Anderson", "Neil Brown", "Jan Hidders", ! "Antti Kaihola", "Jeremie Kass", "John Jorgensen", "Tim Voght", ! "Grant Morgan", "Clifford A. Adams"); This file is part of PhpWiki. *************** *** 26,37 **** ///////////////////////////////////////////////////////////////////// /* ! This is the starting file for PhpWiki. All this file does ! is set configuration options, and at the end of the file ! it includes() the file lib/main.php, where the real action begins. ! ! This file is divided into six parts: Parts Zero, One, Two, Three, ! Four and Five. Each one has different configuration settings you ! can change; in all cases the default should work on your system, ! however, we recommend you tailor things to your particular setting. */ --- 30,41 ---- ///////////////////////////////////////////////////////////////////// /* ! This is the starting file for PhpWiki. All this file does is set ! configuration options, and at the end of the file it includes() the ! file lib/main.php, where the real action begins. ! ! This file is divided into six parts: Parts Zero, One, Two, Three, ! Four and Five. Each one has different configuration settings you can ! change; in all cases the default should work on your system, ! however, we recommend you tailor things to your particular setting. */ *************** *** 41,49 **** // NOTE: phpwiki uses the PEAR library of php code for SQL database ! // access. Your PHP is probably already configured to set include_path ! // so that PHP can find the pear code. If not (or if you change ! // include_path here) make sure you include the path to the PEAR ! // code in include_path. (To find the PEAR code on your system, search ! // for a file named 'PEAR.php'. Some common locations are: // // Unixish systems: --- 45,53 ---- // NOTE: phpwiki uses the PEAR library of php code for SQL database ! // access. Your PHP is probably already configured to set ! // include_path so that PHP can find the pear code. If not (or if you ! // change include_path here) make sure you include the path to the ! // PEAR code in include_path. (To find the PEAR code on your system, ! // search for a file named 'PEAR.php'. Some common locations are: // // Unixish systems: *************** *** 52,59 **** // Mac OS X: // /System/Library/PHP // ! // The above examples are already included by PhpWiki. ! // You shouldn't have to change this unless you see a WikiFatalError: ! // lib/FileFinder.php:82: Fatal[256]: DB.php: file not found // //ini_set('include_path', '.:/where/you/installed/phpwiki'); --- 56,64 ---- // Mac OS X: // /System/Library/PHP + // + // The above examples are already included by PhpWiki. You shouldn't + // have to change this unless you see a WikiFatalError: // ! // lib/FileFinder.php:82: Fatal[256]: DB.php: file not found // //ini_set('include_path', '.:/where/you/installed/phpwiki'); *************** *** 78,83 **** //define('WIKI_NAME', 'PhpWiki'); ! // If set, we will perform reverse dns lookups to try to convert the users ! // IP number to a host name, even if the http server didn't do it for us. define('ENABLE_REVERSE_DNS', true); --- 83,89 ---- //define('WIKI_NAME', 'PhpWiki'); ! // If set, we will perform reverse dns lookups to try to convert the ! // users IP number to a host name, even if the http server didn't do ! // it for us. define('ENABLE_REVERSE_DNS', true); *************** *** 88,93 **** define('ADMIN_PASSWD', ""); ! // If true, only the admin user can make zip dumps, else ! // zip dumps require no authentication. define('ZIPDUMP_AUTH', false); --- 94,99 ---- define('ADMIN_PASSWD', ""); ! // If true, only the admin user can make zip dumps, else zip dumps ! // require no authentication. define('ZIPDUMP_AUTH', false); *************** *** 99,104 **** define('MAX_UPLOAD_SIZE', 16 * 1024 * 1024); ! // If the last edit is older than MINOR_EDIT_TIMEOUT seconds, the default ! // state for the "minor edit" checkbox on the edit page form will be off. define("MINOR_EDIT_TIMEOUT", 7 * 24 * 3600); --- 105,111 ---- define('MAX_UPLOAD_SIZE', 16 * 1024 * 1024); ! // If the last edit is older than MINOR_EDIT_TIMEOUT seconds, the ! // default state for the "minor edit" checkbox on the edit page form ! // will be off. define("MINOR_EDIT_TIMEOUT", 7 * 24 * 3600); *************** *** 107,125 **** // PhpWiki can generate an access_log (in "NCSA combined log" format) ! // for you. If you want one, define this to the name of the log file. //define('ACCESS_LOG', '/tmp/wiki_access_log'); ! // If ALLOW_BOGO_LOGIN is true, users are allowed to login ! // (with any/no password) using any userid which: 1) is not ! // the ADMIN_USER, 2) is a valid WikiWord (matches $WikiNameRegexp.) define('ALLOW_BOGO_LOGIN', true); ! // The login code now uses PHP's session support. Usually, the default // configuration of PHP is to store the session state information in ! // /tmp. That probably will work fine, but fails e.g. on clustered ! // servers where each server has their own distinct /tmp (this ! // is the case on SourceForge's project web server.) You can specify ! // an alternate directory in which to store state information like so // (whatever user your httpd runs as must have read/write permission // in this directory): --- 114,132 ---- // PhpWiki can generate an access_log (in "NCSA combined log" format) ! // for you. If you want one, define this to the name of the log file. //define('ACCESS_LOG', '/tmp/wiki_access_log'); ! // If ALLOW_BOGO_LOGIN is true, users are allowed to login (with ! // any/no password) using any userid which: 1) is not the ADMIN_USER, ! // 2) is a valid WikiWord (matches $WikiNameRegexp.) define('ALLOW_BOGO_LOGIN', true); ! // The login code now uses PHP's session support. Usually, the default // configuration of PHP is to store the session state information in ! // /tmp. That probably will work fine, but fails e.g. on clustered ! // servers where each server has their own distinct /tmp (this is the ! // case on SourceForge's project web server.) You can specify an ! // alternate directory in which to store state information like so // (whatever user your httpd runs as must have read/write permission // in this directory): *************** *** 143,147 **** // Select the database type: //'dbtype' => 'SQL', ! 'dbtype' => 'dba', // For SQL based backends, specify the database as a DSN --- 150,154 ---- // Select the database type: //'dbtype' => 'SQL', ! 'dbtype' => 'dba', // For SQL based backends, specify the database as a DSN *************** *** 154,159 **** // mysql://user:password@host/databasename // ! // FIXME: My version Pear::DB seems to be broken enough that there is ! // no way to connect to a mysql server over a socket right now. //'dsn' => 'mysql://guest@:/var/lib/mysql/mysql.sock/test', //'dsn' => 'mysql://guest@localhost/test', --- 161,166 ---- // mysql://user:password@host/databasename // ! // FIXME: My version Pear::DB seems to be broken enough that there ! // is no way to connect to a mysql server over a socket right now. //'dsn' => 'mysql://guest@:/var/lib/mysql/mysql.sock/test', //'dsn' => 'mysql://guest@localhost/test', *************** *** 164,179 **** // prefix for filenames or table names /* ! * currently you MUST EDIT THE SQL file too (in the schemas/ directory ! * because we aren't doing on the fly sql generation during the ! * installation. */ //'prefix' => 'phpwiki_', // Used by 'dba' ! 'directory' => "/tmp", ! 'dba_handler' => 'gdbm', // Either of 'gdbm' or 'db2' work great for me. //'dba_handler' => 'db2', //'dba_handler' => 'db3', // doesn't work at all for me.... ! 'timeout' => 20, //'timeout' => 5 ); --- 171,186 ---- // prefix for filenames or table names /* ! * currently you MUST EDIT THE SQL file too (in the schemas/ ! * directory because we aren't doing on the fly sql generation ! * during the installation. */ //'prefix' => 'phpwiki_', // Used by 'dba' ! 'directory' => "/tmp", ! 'dba_handler' => 'gdbm', // Either of 'gdbm' or 'db2' work great for me. //'dba_handler' => 'db2', //'dba_handler' => 'db3', // doesn't work at all for me.... ! 'timeout' => 20, //'timeout' => 5 ); *************** *** 181,213 **** ///////////////////////////////////////////////////////////////////// // ! // The next section controls how many old revisions of each page ! // are kept in the database. // ! // There are two basic classes of revisions: major and minor. ! // Which class a revision belongs in is determined by whether the ! // author checked the "this is a minor revision" checkbox when they ! // saved the page. // ! // There is, additionally, a third class of revisions: author revisions. ! // The most recent non-mergable revision from each distinct author is ! // and author revision. // // The expiry parameters for each of those three classes of revisions ! // can be adjusted seperately. For each class there are five ! // parameters (usually, only two or three of the five are actually set) ! // which control how long those revisions are kept in the database. ! // ! // max_keep: If set, this specifies an absolute maximum for the number ! // of archived revisions of that class. This is meant to be ! // used as a safety cap when a non-zero min_age is specified. ! // It should be set relatively high, and it's purpose is to ! // prevent malicious or accidental database overflow due ! // to someone causing an unreasonable number of edits in a short ! // period of time. ! // ! // min_age: Revisions younger than this (based upon the supplanted date) ! // will be kept unless max_keep is exceeded. The age should ! // be specified in days. It should be a non-negative, ! // real number, // // min_keep: At least this many revisions will be kept. --- 188,221 ---- ///////////////////////////////////////////////////////////////////// // ! // The next section controls how many old revisions of each page are ! // kept in the database. // ! // There are two basic classes of revisions: major and minor. Which ! // class a revision belongs in is determined by whether the author ! // checked the "this is a minor revision" checkbox when they saved the ! // page. // ! // There is, additionally, a third class of revisions: author ! // revisions. The most recent non-mergable revision from each distinct ! // author is and author revision. // // The expiry parameters for each of those three classes of revisions ! // can be adjusted seperately. For each class there are five ! // parameters (usually, only two or three of the five are actually ! // set) which control how long those revisions are kept in the ! // database. ! // ! // max_keep: If set, this specifies an absolute maximum for the ! // number of archived revisions of that class. This is ! // meant to be used as a safety cap when a non-zero ! // min_age is specified. It should be set relatively high, ! // and it's purpose is to prevent malicious or accidental ! // database overflow due to someone causing an ! // unreasonable number of edits in a short period of time. ! // ! // min_age: Revisions younger than this (based upon the supplanted ! // date) will be kept unless max_keep is exceeded. The age ! // should be specified in days. It should be a ! // non-negative, real number, // // min_keep: At least this many revisions will be kept. *************** *** 217,229 **** // max_age: No revision older than this age will be kept. // ! // Supplanted date: Revisions are timestamped at the instant that they cease ! // being the current revision. Revision age is computed using this timestamp, ! // not the edit time of the page. ! // ! // Merging: When a minor revision is deleted, if the preceding revision is by ! // the same author, the minor revision is merged with the preceding revision ! // before it is deleted. Essentially: this replaces the content (and supplanted ! // timestamp) of the previous revision with the content after the merged minor ! // edit, the rest of the page metadata for the preceding version (summary, mtime, ...) // is not changed. // --- 225,238 ---- // max_age: No revision older than this age will be kept. // ! // Supplanted date: Revisions are timestamped at the instant that they ! // cease being the current revision. Revision age is computed using ! // this timestamp, not the edit time of the page. ! // ! // Merging: When a minor revision is deleted, if the preceding ! // revision is by the same author, the minor revision is merged with ! // the preceding revision before it is deleted. Essentially: this ! // replaces the content (and supplanted timestamp) of the previous ! // revision with the content after the merged minor edit, the rest of ! // the page metadata for the preceding version (summary, mtime, ...) // is not changed. // *************** *** 235,242 **** 'keep' => 4); // Keep the latest contributions of the last 8 authors up to a year. ! // Additionally, (in the case of a particularly active page) try to keep the ! // latest contributions of all authors in the last week (even if there are ! // more than eight of them,) but in no case keep more than twenty unique ! // author revisions. $ExpireParams['author'] = array('max_age' => 365, 'keep' => 8, --- 244,251 ---- 'keep' => 4); // Keep the latest contributions of the last 8 authors up to a year. ! // Additionally, (in the case of a particularly active page) try to ! // keep the latest contributions of all authors in the last week (even ! // if there are more than eight of them,) but in no case keep more ! // than twenty unique author revisions. $ExpireParams['author'] = array('max_age' => 365, 'keep' => 8, *************** *** 252,265 **** // Select a valid charset name to be inserted into the xml/html pages. ! // For more info see: <http://www.iana.org/assignments/character-sets>. // Note that PhpWiki has been extensively tested only with the latin1 ! // (iso-8859-1) character set. ! // If you change the default from iso-8859-1 PhpWiki may not work ! // properly and it will require code modifications. However, character ! // sets similar to iso-8859-1 may work with little or no modification ! // depending on your setup. The database must also support the same ! // charset, and of course the same is true for the web browser. ! // (Some work is in progress hopefully to allow more flexibility in ! // this area in the future). define("CHARSET", "iso-8859-1"); --- 261,273 ---- // Select a valid charset name to be inserted into the xml/html pages. ! // For more info see:<http://www.iana.org/assignments/character-sets>. // Note that PhpWiki has been extensively tested only with the latin1 ! // (iso-8859-1) character set. If you change the default from ! // iso-8859-1 PhpWiki may not work properly and it will require code ! // modifications. However, character sets similar to iso-8859-1 may ! // work with little or no modification depending on your setup. The ! // database must also support the same charset, and of course the same ! // is true for the web browser. (Some work is in progress hopefully to ! // allow more flexibility in this area in the future). define("CHARSET", "iso-8859-1"); *************** *** 273,284 **** // Italian "it" (Italiano - PaginaPrincipale) // ! // If you set $LANG to the empty string, your systems default ! // language (as determined by the applicable environment variables) ! // will be used. // // Note that on some systems, apprently using these short forms for ! // the locale won't work. On my home system 'LANG=de' won't result ! // in german pages. Somehow the system must recognize the locale ! // as a valid locale before gettext() will work, i.e., use 'de_DE', // 'nl_NL'. $LANG='C'; --- 281,292 ---- // Italian "it" (Italiano - PaginaPrincipale) // ! // If you set $LANG to the empty string, your systems default language ! // (as determined by the applicable environment variables) will be ! // used. // // Note that on some systems, apprently using these short forms for ! // the locale won't work. On my home system 'LANG=de' won't result in ! // german pages. Somehow the system must recognize the locale as a ! // valid locale before gettext() will work, i.e., use 'de_DE', // 'nl_NL'. $LANG='C'; *************** *** 287,291 **** // Setting the LANG environment variable (accomplished above) may or // may not be sufficient to cause PhpWiki to produce dates in your ! // native language. (It depends on the configuration of the operating // system on your http server.) The problem is that, e.g. 'de' is // often not a valid locale. --- 295,299 ---- // Setting the LANG environment variable (accomplished above) may or // may not be sufficient to cause PhpWiki to produce dates in your ! // native language. (It depends on the configuration of the operating // system on your http server.) The problem is that, e.g. 'de' is // often not a valid locale. *************** *** 297,322 **** // ISO-8859-1 or UTF-8. // ! // You can tailor the locale used for time and date formatting by setting ! // the LC_TIME environment variable. You'll have to experiment to find ! // the correct setting: //putenv('LC_TIME=de_DE'); ! // If you specify a relative URL for the CSS and images, ! // the are interpreted relative to DATA_PATH (see below). ! // (The default value of DATA_PATH is the directory in which ! // index.php (this file) resides.) // CSS location // // Note that if you use the stock phpwiki style sheet, 'phpwiki.css', ! // you should make sure that it's companion 'phpwiki-heavy.css' ! // is installed in the same directory that the base style file is. // FIXME: These default CSS key names could use localization, but ! // gettext() is not available at this point yet ! $CSS_URLS = array( ! 'PhpWiki' => "phpwiki.css", ! 'Printer' => "phpwiki-printer.css", ! 'Modern' => "phpwiki-modern.css" ! ); $CSS_DEFAULT = "PhpWiki"; --- 305,328 ---- // ISO-8859-1 or UTF-8. // ! // You can tailor the locale used for time and date formatting by ! // setting the LC_TIME environment variable. You'll have to experiment ! // to find the correct setting: //putenv('LC_TIME=de_DE'); ! // If you specify a relative URL for the CSS and images, the are ! // interpreted relative to DATA_PATH (see below). (The default value ! // of DATA_PATH is the directory in which index.php (this file) ! // resides.) // CSS location // // Note that if you use the stock phpwiki style sheet, 'phpwiki.css', ! // you should make sure that it's companion 'phpwiki-heavy.css' is ! // installed in the same directory that the base style file is. // FIXME: These default CSS key names could use localization, but ! // gettext() is not available at this point yet ! $CSS_URLS = array('PhpWiki' => "phpwiki.css", ! 'Printer' => "phpwiki-printer.css", ! 'Modern' => "phpwiki-modern.css"); $CSS_DEFAULT = "PhpWiki"; *************** *** 335,357 **** // this turns on url indicator icons, inserted before embedded links ! // '*' icon is shown when the link type has no icon listed here, ! // but ONLY for the AllowedProtocols specified in in part four! ! // 'interwiki' icon indicates a Wiki listed in lib/interwiki.map ! // If you want icons just to differentiate between urls and Wikis then // turn on only 'interwiki' and '*', comment out the other four. /* $URL_LINK_ICONS = array( ! 'http' => 'images/http.png', ! 'https' => 'images/https.png', ! 'ftp' => 'images/ftp.png', ! 'mailto' => 'images/mailto.png', ! 'interwiki' => 'images/interwiki.png', ! '*' => 'images/zapg.png' ! ); */ // Date & time formats used to display modification times, etc. ! // Formats are given as format strings to PHP strftime() function ! // See http://www.php.net/manual/en/function.strftime.php for details. $datetimeformat = "%B %e, %Y"; // may contain time of day $dateformat = "%B %e, %Y"; // must not contain time --- 341,363 ---- // this turns on url indicator icons, inserted before embedded links ! // '*' icon is shown when the link type has no icon listed here, but ! // ONLY for the AllowedProtocols specified in in part four! The ! // 'interwiki' icon indicates a Wiki listed in lib/interwiki.map If ! // you want icons just to differentiate between urls and Wikis then // turn on only 'interwiki' and '*', comment out the other four. /* $URL_LINK_ICONS = array( ! 'http' => 'images/http.png', ! 'https' => 'images/https.png', ! 'ftp' => 'images/ftp.png', ! 'mailto' => 'images/mailto.png', ! 'interwiki' => 'images/interwiki.png', ! '*' => 'images/zapg.png' ! ); */ // Date & time formats used to display modification times, etc. ! // Formats are given as format strings to PHP strftime() function See ! // http://www.php.net/manual/en/function.strftime.php for details. $datetimeformat = "%B %e, %Y"; // may contain time of day $dateformat = "%B %e, %Y"; // must not contain time *************** *** 373,379 **** // However, if a LANG is set, they we be searched for in a locale // specific location first. ! $templates = array("BROWSE" => "templates/browse.html", ! "EDITPAGE" => "templates/editpage.html", ! "MESSAGE" => "templates/message.html"); // The themeinfo file can be used to override default settings above this line --- 379,385 ---- // However, if a LANG is set, they we be searched for in a locale // specific location first. ! $templates = array("BROWSE" => "templates/browse.html", ! "EDITPAGE" => "templates/editpage.html", ! "MESSAGE" => "templates/message.html"); // The themeinfo file can be used to override default settings above this line *************** *** 389,403 **** include "themes/$theme/themeinfo.php"; } else { ! //FIXME: gettext doesn't work in index.php or themeinfo.php trigger_error(sprintf(("Unable to open file '%s' for reading"), ! "themes/$theme/themeinfo.php"), E_USER_NOTICE); } } ! /* WIKI_PGSRC -- specifies the source for the initial page contents ! * of the Wiki. The setting of WIKI_PGSRC only has effect when ! * the wiki is accessed for the first time (or after clearing the ! * database.) WIKI_PGSRC can either name a directory or a zip file. ! * In either case WIKI_PGSRC is scanned for files --- one file per page. */ define('WIKI_PGSRC', "pgsrc"); // Default (old) behavior. --- 395,409 ---- include "themes/$theme/themeinfo.php"; } else { ! // FIXME: gettext doesn't work in index.php or themeinfo.php trigger_error(sprintf(("Unable to open file '%s' for reading"), ! "themes/$theme/themeinfo.php"), E_USER_NOTICE); } } ! /* WIKI_PGSRC -- specifies the source for the initial page contents of ! * the Wiki. The setting of WIKI_PGSRC only has effect when the wiki is ! * accessed for the first time (or after clearing the database.) ! * WIKI_PGSRC can either name a directory or a zip file. In either case ! * WIKI_PGSRC is scanned for files -- one file per page. */ define('WIKI_PGSRC', "pgsrc"); // Default (old) behavior. *************** *** 405,414 **** //define('WIKI_PGSRC', '../../../Logs/Hamwiki/hamwiki-20010830.zip'); // New style. ! // DEFAULT_WIKI_PGSRC is only used when the language is *not* ! // the default (English) and when reading from a directory: ! // in that case some English pages are inserted into the wiki as well ! // DEFAULT_WIKI_PGSRC defines where the English pages reside ! // FIXME: is this really needed? Can't we just copy ! // these pages into the localized pgsrc? define('DEFAULT_WIKI_PGSRC', "pgsrc"); // These are the pages which will get loaded from DEFAULT_WIKI_PGSRC. --- 411,420 ---- //define('WIKI_PGSRC', '../../../Logs/Hamwiki/hamwiki-20010830.zip'); // New style. ! // DEFAULT_WIKI_PGSRC is only used when the language is *not* the ! // default (English) and when reading from a directory: in that case ! // some English pages are inserted into the wiki as well ! // DEFAULT_WIKI_PGSRC defines where the English pages reside FIXME: is ! // this really needed? Can't we just copy these pages into the ! // localized pgsrc? define('DEFAULT_WIKI_PGSRC', "pgsrc"); // These are the pages which will get loaded from DEFAULT_WIKI_PGSRC. *************** *** 453,470 **** * * The following section contains settings which you can use to tailor ! * the URLs which PhpWiki generates. * ! * Any of these parameters which are left undefined will be ! * deduced automatically. You need only set them explicitly ! * if the auto-detected values prove to be incorrect. * ! * In most cases the auto-detected values should work fine, ! * so hopefully you don't need to mess with this section. * ******************************************************************/ /* ! * Canonical name and httpd port of the server on which this ! * PhpWiki resides. */ //define('SERVER_NAME', 'some.host.com'); --- 459,476 ---- * * The following section contains settings which you can use to tailor ! * the URLs which PhpWiki generates. * ! * Any of these parameters which are left undefined will be deduced ! * automatically. You need only set them explicitly if the ! * auto-detected values prove to be incorrect. * ! * In most cases the auto-detected values should work fine, so ! * hopefully you don't need to mess with this section. * ******************************************************************/ /* ! * Canonical name and httpd port of the server on which this PhpWiki ! * resides. */ //define('SERVER_NAME', 'some.host.com'); *************** *** 475,487 **** * script. */ - // Is this still required? Wiki seems to work fine without it, - // both with the server configured using alias directives - // or using SetHandler + virtual & data paths. //define('SCRIPT_NAME', '/some/where/index.php'); /* ! * Relative URL (from the server root) of the directory ! * in which relative URL's for images and other support files ! * are interpreted. */ //define('DATA_PATH', '/some/where'); --- 481,490 ---- * script. */ //define('SCRIPT_NAME', '/some/where/index.php'); /* ! * Relative URL (from the server root) of the directory from which ! * other relative URL's for images and other support files are ! * interpreted. */ //define('DATA_PATH', '/some/where'); *************** *** 496,503 **** /* ! * VIRTUAL_PATH is the canonical URL path under which your ! * your wiki appears. Normally this is the same as ! * dirname(SCRIPT_NAME), however using, e.g. apaches mod_actions ! * (or mod_rewrite), you can make it something different. * * If you do this, you should set VIRTUAL_PATH here. --- 499,506 ---- /* ! * VIRTUAL_PATH is the canonical URL path under which your your wiki ! * appears. Normally this is the same as dirname(SCRIPT_NAME), however ! * using, e.g. apaches mod_actions (or mod_rewrite), you can make it ! * something different. * * If you do this, you should set VIRTUAL_PATH here. *************** *** 507,511 **** * * One way to do this is to create a directory named 'wiki' in your ! * server root. The directory contains only one file: an .htaccess * file which reads something like: * --- 510,514 ---- * * One way to do this is to create a directory named 'wiki' in your ! * server root. The directory contains only one file: an .htaccess * file which reads something like: * |