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