summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TWiki/TWikiInstallationGuide.mdwn14
1 files changed, 13 insertions, 1 deletions
diff --git a/TWiki/TWikiInstallationGuide.mdwn b/TWiki/TWikiInstallationGuide.mdwn
index 03055a90..376d405f 100644
--- a/TWiki/TWikiInstallationGuide.mdwn
+++ b/TWiki/TWikiInstallationGuide.mdwn
@@ -1,3 +1,5 @@
+%TOC% %STARTINCLUDE%
+
## <a name="TWiki_Installation_Notes"> TWiki Installation Notes </a>
These installation steps use the Apache web server on Linux as an example. TWiki should run on other web servers and Unix systems as well. (TWiki on Windows is possible, but has not been documented well. More on that at <http://TWiki.org/cgi-bin/view/Codev/TWikiOnWindows> )
@@ -41,7 +43,7 @@ These installation steps use the Apache web server on Linux as an example. TWiki
Read <http://TWiki.org/cgi-bin/view/Codev/SourceForgeHowTo> in case you want to install TWiki on SourceForge.
-### <a name="Installation_steps"> Installation steps </a>
+### <a name="Standard_Installation_Steps"> Standard Installation Steps </a>
* Request the TWiki distribution (in Unix ZIP format) from <http://TWiki.org/download.html> .
* Create directory `/home/httpd/twiki` and unzip the TWiki distribution into this directory.
@@ -86,8 +88,12 @@ Read <http://TWiki.org/cgi-bin/view/Codev/SourceForgeHowTo> in case you want to
* Enable email notification of topic changes, [[TWikiDocumentation]] has more. Using your browser, edit also the [[WebNotify]] topic in all webs and set the users you want to notify.
* Add the [TWiki:Main.PoweredByTWikiLogo](http://TWiki.org/cgi-bin/view/Main/PoweredByTWikiLogo) to your %MAINWEB%.WebHome topic.
+### <a name="Add_New_Rendering_Rules_amp_Vari"> Add New Rendering Rules &amp; Variables </a>
+
* Optional: You can add new rendering rules or new %VARIABLES%. To insure an easy upgrade of TWiki it is recommended to do this customization in `twiki/bin/wikicfg.pm` , not `twiki/bin/wiki.pm` .
+### <a name="Enable_Basic_Authentication_htac"> Enable Basic Authentication (.htaccess) </a>
+
* Optional: If you are on a non authenticated server (i.e. not using SSL) and you would like to authenticate users:
* Rename file `.htaccess.txt` in the `twiki/bin` directory to `.htaccess` and change it to your needs. For details consult the HTTP server documentation (for Apache server: [[1]](http://www.apache.org/docs/mod/directives.html), [[2]](http://www.mcs.kent.edu/system/web_help/htaccess/introduction.html)). In particular, the following <font>red</font> part needs to be configured correctly: <br /><code>Redirect <font>/urlpath/to/TWiki/index.html</font> http://<font>your.domain.com/urlpath/to/TWiki/bin/</font>view</code><br /><code>AuthUserFile <font>/filepath/to/TWiki/data/</font>.htpasswd</code><br /><code>ErrorDocument 401 <font>/urlpath/to/TWiki/bin/</font>oops/TWiki/TWikiRegistration?template=oopsauth</code>
* **_Note:_** The browser should ask for login name and password when you click on the <u>Edit</u> link. In case `.htaccess` does not have the desired effect you need to enable it: Add "AllowOverride All" to the Directory section of `access.conf` for your `twiki/bin` directory.
@@ -95,6 +101,8 @@ Read <http://TWiki.org/cgi-bin/view/Codev/SourceForgeHowTo> in case you want to
* **_Note:_** You can customize the registration form if needed, like deleting or adding input tags. The `name=""` parameter of the input tags must start with: `"Twk0..."` (if this is an optional entry), or `"Twk1..."` (if this is a required entry). This will ensure that the fields are processed correctly.
* A new line containing user name and encrypted password gets added to the `data/.htpasswd` file when a users registers. The file that comes with the TWiki installation contains a few user accounts of TWiki core team members (needed for testing). You can edit the file and delete those lines.
+### <a name="Generate_Site_Usage_Statistics"> Generate Site Usage Statistics </a>
+
* Optional: You can automatically generate usage statistics for all webs. To enable this:
* Make sure variable `$doLogTopicView, $doLogTopicSave and $doLogTopicUpload` in `wikicfg.pm` are set. This will generate log entries in file `twiki/data/log<date>.txt` .
* Topic [[WebStatistics]] must be present in all webs where you want to have statistics. You can use the topic in the Main web as a template.
@@ -106,6 +114,10 @@ Read <http://TWiki.org/cgi-bin/view/Codev/SourceForgeHowTo> in case you want to
* Update current month for Main web only: <br />`http://mydomain.com/twiki/bin/statistics/Main`
* Update January 2000 for Main web: <br />`http://mydomain.com/twiki/bin/statistics/Main?logdate=200001`
+<a name="CreateWeb"></a>
+
+### <a name="Create_a_New_Web"> Create a New Web </a>
+
* To create a new web:
* Use a name for the web consisting of characters `A..Z` , `a..z` but **not** in [[WikiNotation]].
* Create a new template directory under `twiki/templates` .