summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://mcfrisk.myopenid.com/ <http://mcfrisk.myopenid.com/@web>2009-11-06 04:56:49 -0500
committerJoey Hess <joey@kitenet.net>2009-11-06 04:56:49 -0500
commit63b1a4e6ca0de322d5bbfc97c5cc3728661793d1 (patch)
treee716313f6dcbbc61afb34a236ab4d7d77a78f6f5
parent3f2e5abb56efadca99de384ca83ed23e579df915 (diff)
-rw-r--r--doc/forum/ikiwiki_and_big_files.mdwn23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/forum/ikiwiki_and_big_files.mdwn b/doc/forum/ikiwiki_and_big_files.mdwn
index bded60ba0..8e36278e5 100644
--- a/doc/forum/ikiwiki_and_big_files.mdwn
+++ b/doc/forum/ikiwiki_and_big_files.mdwn
@@ -48,3 +48,26 @@ ps. here's how to calculate space taken by html, picture and video files:
> BTW, the `hardlink` setting is a good thing to enable if you
> have large files, as it saves both disk space and copying time.
> --[[Joey]]
+
+Can underlay plugin handle the case that source and destination directories
+are the same? I'd rather have just one copy of these underlay files on the server.
+And did I goof in the setup file since I got this:
+
+ $ ikiwiki -setup blog.setup -rebuild --verbose
+ Can't use string ("/home/users/mcfrisk/www/blog/med") as an ARRAY ref while
+ "strict refs" in use at
+ /home/users/mcfrisk/bin/share/perl/5.10.0/IkiWiki/Plugin/underlay.pm line 41.
+ $ grep underlay blog.setup
+ add_plugins => [qw{goodstuff websetup comments blogspam html sidebar underlay}],
+ underlaydir => '/home/users/mcfrisk/bin/share/ikiwiki/basewiki',
+ # underlay plugin
+ # extra underlay directories to add
+ add_underlays => '/home/users/mcfrisk/www/blog/media',
+ $ egrep "(srcdir|destdir)" blog.setup
+ srcdir => '/home/users/mcfrisk/blog',
+ destdir => '/home/users/mcfrisk/www/blog',
+ # allow symlinks in the path leading to the srcdir (potentially insecure)
+ allow_symlinks_before_srcdir => 1,
+ # directory in srcdir that contains directive descriptions
+
+-Mikko