|
If you've created a new wiki with the following command
sudo Wiki2Go_make_site.rb -s http://wiki2go.nayima.be -u www-data
-g siteadmins -w Wiki2Go -t readwrite -d /var/sites/wiki2go
you get a file similar to the one below in < installation dir>/site/scripts/CgiOptions.rb
This is where you can configure most of the working of Wiki2Go. The comments explain what the different options do
require 'rubygems'
require_gem "Wiki2Go","~>1.17.0"
require "Wiki2Go/ReadWriteWikiConfig"
class CgiOptions < Wiki2Go::ReadWriteWikiConfig
def initialize
super('/var/sites/wiki2go')
@debug = true
@multi_wiki = true
@site_admin = 'wiki2go@nayima.be'
@user = 'www-data'
@group = 'siteadmins'
@amazon_affiliate = 'agilesystems-21'
@allow_dynamic_pages = false
@subsite = ''
end
end
|