]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/ikiwiki.setup
meta headers are not sanitised; prevent html leaking into them
[git.ikiwiki.info.git] / doc / ikiwiki.setup
1 #!/usr/bin/perl
2 # Configuration file for ikiwiki.
3 # Passing this to ikiwiki --setup will make ikiwiki generate two
4 # wrapper programs, one for cgi and one for a subversion post-commit hook.
5 #
6 # Remember to re-run ikiwiki --setup any time you edit this file.
8 use IkiWiki::Setup::Standard {
9         wikiname => "MyWiki",
10         #adminuser => ["yourname", ],
11         adminemail => 'me@myhost',
12         
13         # Be sure to customise these..
14         srcdir => "/path/to/source",
15         destdir => "/var/www/wiki",
16         
17         url => "http://myhost/wiki",
18         cgiurl => "http://myhost/ikiwiki.cgi",
19         #diffurl => "http://svn.someurl/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]",
20         #templatedir => "/usr/share/ikiwiki/templates",
21         
22         # Subversion stuff.
23         rcs => "svn",
24         #historyurl => "http://svn.myhost/trunk/[[file]]",
25         svnrepo => "/svn/wiki",
26         svnpath => "trunk",
28         # Git stuff.
29         #rcs => "git",
30         #historyurl => "http://git.host/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
32         wrappers => [
33                 #{
34                 #       # The cgi wrapper.
35                 #       cgi => 1,
36                 #       wrapper => "/var/www/wiki/ikiwiki.cgi",
37                 #       wrappermode => "06755",
38                 #},
39                 {
40                         # The svn post-commit wrapper.
41                         # Note that this will overwrite any exsting
42                         # post-commit hook script, which may not be
43                         # what you want.
44                         wrapper => "/svn/wikirepo/hooks/post-commit",
45                         wrappermode => "04755",
46                         # Enable mail notifications of commits.
47                         notify => 1,
48                 },
49                 #{
50                 #       # The git post-update wrapper.
51                 #       # Note that this will overwrite any exsting
52                 #       # post-commit hook script, which may not be
53                 #       # what you want.
54                 #       wrapper => "/git/wikirepo/hooks/post-update",
55                 #       wrappermode => "04755",
56                 #       # Enable mail notifications of commits.
57                 #       notify => 1,
58                 #},
59         ],
60         
61         # Can anonymous web users edit pages?
62         #anonok => 1,
63         # Generate rss feeds for pages?
64         rss => 1,
65         # Include discussion links on all pages?
66         discussion => 1,
67         # Time format (for strftime)
68         #timeformat => '%c',
69         # To change the enabled plugins, edit this list
70         #plugin => [qw{pagecount inline brokenlinks search smiley
71         #              htmlscrubber}],
72 }