]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Added a comment: Several .setup files
authorspalax <spalax@web>
Sat, 27 Sep 2014 06:18:30 +0000 (02:18 -0400)
committeradmin <admin@branchable.com>
Sat, 27 Sep 2014 06:18:30 +0000 (02:18 -0400)
doc/forum/Serving_Blog_under_different_Subdomain/comment_1_33dab1457f7ff6d5e599897e0ebd45a0._comment [new file with mode: 0644]

diff --git a/doc/forum/Serving_Blog_under_different_Subdomain/comment_1_33dab1457f7ff6d5e599897e0ebd45a0._comment b/doc/forum/Serving_Blog_under_different_Subdomain/comment_1_33dab1457f7ff6d5e599897e0ebd45a0._comment
new file mode 100644 (file)
index 0000000..0732a82
--- /dev/null
@@ -0,0 +1,28 @@
+[[!comment format=mdwn
+ username="spalax"
+ ip="82.233.196.200"
+ subject="Several .setup files"
+ date="2014-09-27T06:18:29Z"
+ content="""
+I am not sure to have understood your question, but I assume the following:
+
+- your source wiki contains some subdirectory `blog`;
+- you want the whole wiki to be served as [[wiki.example.com]]
+- you want the `blog` subdirectory serves as [[blog.example.com]]
+
+If so, what you can do is having two different setup files.
+
+- the first one would contain (using the old setup file format, but you can adapt it for the new one):
+
+      srcdir => \"/path/to/your/source/wiki/\",
+      url => \"http://wiki.example.com\",
+
+- and the second one would contain:
+
+      srcdir => \"/path/to/your/source/wiki/blog\",
+      url => \"http://blog.example.com\",
+
+I hope I answered your question.
+
+-- [[Louis|spalax]]
+"""]]