summaryrefslogtreecommitdiffstats
path: root/ikiwiki-cgi.setup
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2011-03-28 15:08:40 +0200
committerTails developers <amnesia@boum.org>2011-03-28 15:12:27 +0200
commit030df825a6c6b3d772d66c8fbcbffc56734f7088 (patch)
tree62a945fb5aed66bfe61ae9e0b2ba4761fa8d9f1d /ikiwiki-cgi.setup
parent73335824615bc10c595ffe70e309e607875dc6be (diff)
ikiwiki-cgi.setup: add settings that ease testing with a local web server.
Diffstat (limited to 'ikiwiki-cgi.setup')
-rw-r--r--ikiwiki-cgi.setup9
1 files changed, 6 insertions, 3 deletions
diff --git a/ikiwiki-cgi.setup b/ikiwiki-cgi.setup
index 2824f6a..731a150 100644
--- a/ikiwiki-cgi.setup
+++ b/ikiwiki-cgi.setup
@@ -5,7 +5,7 @@ use IkiWiki::Setup::Standard {
wikiname => "The Amnesic Incognito Live System",
adminemail => 'amnesia@boum.org',
srcdir => "wiki/src",
- destdir => "config/binary_local-includes/doc/amnesia/wiki",
+ destdir => "/var/www/wiki/tails",
discussion => 0,
exclude => qr/\/discussion/,
locale => 'en_US.UTF-8',
@@ -22,8 +22,8 @@ use IkiWiki::Setup::Standard {
diffurl => 'http://git.immerda.ch/?p=amnesia.git;a=blobdiff;f=wiki/src/[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]',
rss => 1,
atom => 1,
- cgiurl => "http://localhost/amnesia/wiki",
- url => "file:///live/image/doc/amnesia/wiki",
+ cgiurl => "http://localhost/wiki/tails",
+ url => "http://localhost/wiki/tails",
allow_symlinks_before_srcdir => 1,
tagbase => 'tags',
mirrorlist => { 'amnesia.boum.org' => 'https://amnesia.boum.org/ikiwiki.cgi' },
@@ -39,4 +39,7 @@ use IkiWiki::Setup::Standard {
},
po_translatable_pages => '(about or bug_reporting or bugs or build or chat or customize or download or features or found_a_problem or git or GnuPG_key or index or news or security or security/* or sidebar or stay_tuned or support or support/* or talk-dev or talk-users or tarball or todo or torrents or upgrade or wishlist) and !security/audits and !security/audits/*',
po_link_to => 'current',
+
+ umask => 18,
+ sslcookie => 0,
}