fix rss url in nested pages
[ikiwiki.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.
7
8 use IkiWiki::Setup::Standard {
9         wikiname => "MyWiki",
10         #adminuser => ["yourname", ],
11         
12         # Be sure to customise these..
13         srcdir => "/path/to/source",
14         destdir => "/var/www/wiki",
15         
16         url => "http://myhost/wiki",
17         cgiurl => "http://myhost/ikiwiki.cgi",
18         #historyurl => "http://svn.myhost/trunk/[[file]]",
19         #diffurl => "http://svn.someurl/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]",
20         #templatedir => "/usr/share/ikiwiki/templates",
21         
22         # Whether to integrate with svn.
23         svn => 1,
24         svnrepo => "/svn/wiki",
25
26         wrappers => [
27                 {
28                         # The svn wrapper.
29                         # Note that this will overwrite any exsting
30                         # post-commit hook script, which may not be
31                         # what you want.
32                         wrapper => "/svn/wiki/hooks/post-commit",
33                         wrappermode => 04755,
34                 },
35                 {
36                         # The cgi wrapper.
37                         #cgiwrapper => {
38                         #       cgi => 1,
39                         #       wrapper => "/var/www/wiki/ikiwiki.cgi",
40                         #       wrappermode => 06755,
41                         #},
42                 },
43         ],
44         
45         # Can anonymous web users edit pages?
46         #anonok => 1,
47         # Generate rss feeds for pages?
48         rss => 1,
49 }