]> sipb.mit.edu Git - sipb-www.git/blobdiff - ikiwiki.setup
Move the wiki content to Scripts/wiki, and CGI script to Scripts/wiki-cgi.
[sipb-www.git] / ikiwiki.setup
index 9d84903f72550fd9a6ff7e97eb5d79f674a7b95a..37e1d830c338af7ea90636885abd9dc2a68ca896 100644 (file)
@@ -17,21 +17,26 @@ use IkiWiki::Setup::Standard {
        # where the source of the wiki is located
        srcdir => '/afs/sipb.mit.edu/project/sipb-www/ikiwiki/src',
        # where to build the wiki
-       destdir => '/afs/sipb.mit.edu/project/sipb-www/web_scripts/wiki/',
+       destdir => '/afs/sipb.mit.edu/project/sipb-www/Scripts/wiki',
        # base url to the wiki
-       url => 'http://sipb.mit.edu/wiki',
+       url => 'http://sipb.mit.edu',
        # url to the ikiwiki.cgi
-       cgiurl => 'https://sipb.mit.edu:444/wiki/ikiwiki.cgi',
+       cgiurl => 'https://sipb.mit.edu:444/ikiwiki.cgi',
        # filename of cgi wrapper to generate
-       cgi_wrapper => '/afs/sipb.mit.edu/project/sipb-www/web_scripts/wiki/ikiwiki.cgi',
+       cgi_wrapper => '/afs/sipb.mit.edu/project/sipb-www/Scripts/wiki-cgi/ikiwiki.cgi',
        # mode for cgi_wrapper (can safely be made suid)
        cgi_wrappermode => '06755',
        # rcs backend to use
        rcs => 'git',
        # plugins to add to the default configuration
-       add_plugins => [qw(goodstuff httpauth)],
+       # IMPORTANT! If you add plugins that involve interface changes, you
+       # will need to modify our templates to allow this, as our custom
+       # template does not support them yet. See ~/src/ikiwiki/templates
+       add_plugins => [qw(goodstuff html httpauth)],
        # plugins to disable
-       disable_plugins => [qw(smiley)],
+       # IMPORTANT! If you reenable passwordauth/openid, you need to
+       # do some modifications described in TODO.SIPB in the source-tree
+       disable_plugins => [qw(smiley passwordauth openid)],
        # location of template files
        templatedir => '/mit/sipb-www/share/ikiwiki/templates',
        # base wiki source location
@@ -129,7 +134,7 @@ use IkiWiki::Setup::Standard {
 
        # git plugin
        # git hook to generate
-       git_wrapper => '/mit/sipb-www/ikiwiki/src/.git/hooks/post-update',
+       git_wrapper => '/mit/sipb-www/wiki.git/hooks/post-update',
        # mode for git_wrapper (can safely be made suid)
        #git_wrappermode => '06755',
        # git pre-receive hook to generate