Commit cd6055a3e44801dc32d63e0580caa65c4c453de0
- Diff rendering mode:
- inline
- side by side
README
(28 / 5)
|   | |||
| 12 | 12 | Features | |
| 13 | 13 | -------- | |
| 14 | 14 | * Very simple and light | |
| 15 | * Easily customizable | ||
| 15 | * Easily customizable using themes | ||
| 16 | 16 | * Extensive syntax for marking up text (using Textile) | |
| 17 | 17 | * Full history tracking support | |
| 18 | 18 | * Basic support for users/authors, by using the HTTP authentication headers | |
| … | … | ||
| 37 | 37 | For URL rewriting, change the SCRIPT_URL to be the base URL prefix (as | |
| 38 | 38 | is shown in the config file), and add the necessary URL rewrite rules for | |
| 39 | 39 | your webserver. E.g., | |
| 40 | * For Apache, add the following to your .htaccess: | ||
| 41 | ... | ||
| 40 | * For Apache, add the following to .htaccess in your wigit install dir: | ||
| 41 | <IfModule mod_rewrite.c> | ||
| 42 | RewriteEngine On | ||
| 43 | RewriteBase /wigit/ | ||
| 44 | RewriteCond %{REQUEST_FILENAME} !-f | ||
| 45 | RewriteRule (.*) /wigit/index.php?r=$1 [L] | ||
| 46 | </IfModule> | ||
| 42 | 47 | * For lighttpd, add the following to your config file: | |
| 43 | 48 | url.rewrite-once ( | |
| 44 | "^/wigit/(.*)\.css" => "$0", | ||
| 49 | "^/wigit/templates/(.*)" => "$0", | ||
| 45 | 50 | "^/wigit(.*)" => "/wigit/index.php?r=$1", | |
| 46 | 51 | ) | |
| 47 | (where /wigit is replaced by your own base url) | ||
| 52 | (where /wigit is replaced by your own base url) | ||
| 53 | |||
| 54 | For user support, configure your webserver to require authentication for | ||
| 55 | the wigit install dir. E.g. | ||
| 56 | * For Apache, add the following to .htaccess in your wigit install dir: | ||
| 57 | AuthType Basic | ||
| 58 | AuthName "My WiGit" | ||
| 59 | AuthUserFile /path/to/passwords/file | ||
| 60 | Require valid-user | ||
| 61 | * For lighttpd, add the following to your config file: | ||
| 62 | auth.backend = "htdigest" | ||
| 63 | auth.backend.htdigest.userfile = "/path/to/htdigest/file" | ||
| 64 | auth.require = ( | ||
| 65 | "/wigit" => ( | ||
| 66 | "method" => "digest", | ||
| 67 | "realm" => "My WiGit", | ||
| 68 | "require" => "valid-user", | ||
| 69 | ) | ||
| 70 | ) | ||
| 48 | 71 | ||
| 49 | 72 | ||
| 50 | 73 | Contact |

