summaryrefslogtreecommitdiff
path: root/doc/ikiwiki.setup
blob: 7167e6e57bdd5fa5ed34af47a6876d949e95a129 (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. # Be sure to customise these..
  10. srcdir => "/path/to/source",
  11. destdir => "/var/www/wiki",
  12. templatedir => "/usr/share/ikiwiki/templates",
  13. url => "http://myhost/wiki",
  14. cgiurl => "http://myhost/ikiwiki.cgi",
  15. #historyurl => "http://svn.myhost/trunk/[[]]",
  16. # Whether to integrate with svn.
  17. svn => 1,
  18. svnrepo => "/svn/wiki",
  19. wrappers => [
  20. {
  21. # The svn wrapper.
  22. # Note that this will overwrite any exsting
  23. # post-commit hook script, which may not be
  24. # what you want.
  25. wrapper => "/svn/wiki/hooks/post-commit",
  26. wrappermode => 04755,
  27. },
  28. {
  29. # The cgi wrapper.
  30. #cgiwrapper => {
  31. # cgi => 1,
  32. # wrapper => "/var/www/wiki/ikiwiki.cgi",
  33. # wrappermode => 06755,
  34. #},
  35. },
  36. ],
  37. # Can anonymous web users edit pages?
  38. #anonok => 1,
  39. }