Modification : nginx root configurable.
[lhc/ateliers.git] / etc / nginx / site.d / lhc-remorque / ikiwiki.setup
index ff3f348..771d644 100644 (file)
@@ -9,7 +9,7 @@ use IkiWiki::Setup::Standard {
         }],
        banned_users => [],
        srcdir => "/home/lhc/var/ikiwiki/remorque",
-       destdir => "/home/www/pub/lhc-remorque",
+       destdir => "/home/www/data/lhc-remorque",
        #templatedir => "/home/lhc/var/ikiwiki/remorque/tmpl",
        templatedir => '/usr/share/ikiwiki/templates',
        underlaydir => '/usr/share/ikiwiki/basewiki',
@@ -23,13 +23,13 @@ use IkiWiki::Setup::Standard {
        #anonok_pagespec => '*/discussion or tmp',
        locked_pages => '(user(git) and * and !*/discussion and !tmp) and !*/discussion',
        rcs => "git",
-       #historyurl => "/git/?p=lhc/remorque.git;a=history;f=[[file]]",
-       #diffurl    => "/git/?p=lhc/remorque.git;a=blobdiff;f=[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]",
+       historyurl => "/gitweb/?p=lhc/remorque.git;a=history;f=[[file]]",
+       diffurl    => "/gitweb/?p=lhc/remorque.git;a=blobdiff;f=[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]",
        gitorigin_branch => "origin",
        gitmaster_branch => "master",
        wrappers => [
                 { cgi => 1
-                , wrapper => "/home/www/pub/lhc-remorque/cgi/ikiwiki.cgi"
+                , wrapper => "/home/www/data/lhc-remorque/cgi/ikiwiki.cgi"
                 , wrappermode => "00750"
                 }
         , { post_commit => 1