]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/Serving_Blog_under_different_Subdomain/comment_1_33dab1457f7ff6d5e599897e0ebd45a0._comment
Merge remote-tracking branch 'spalax/calendar-autocreate'
[ikiwiki.git] / doc / forum / Serving_Blog_under_different_Subdomain / comment_1_33dab1457f7ff6d5e599897e0ebd45a0._comment
1 [[!comment format=mdwn
2  username="spalax"
3  ip="82.233.196.200"
4  subject="Several .setup files"
5  date="2014-09-27T06:18:29Z"
6  content="""
7 I am not sure to have understood your question, but I assume the following:
8
9 - your source wiki contains some subdirectory `blog`;
10 - you want the whole wiki to be served as [[wiki.example.com]]
11 - you want the `blog` subdirectory serves as [[blog.example.com]]
12
13 If so, what you can do is having two different setup files.
14
15 - the first one would contain (using the old setup file format, but you can adapt it for the new one):
16
17       srcdir => \"/path/to/your/source/wiki/\",
18       url => \"http://wiki.example.com\",
19
20 - and the second one would contain:
21
22       srcdir => \"/path/to/your/source/wiki/blog\",
23       url => \"http://blog.example.com\",
24
25 I hope I answered your question.
26
27 -- [[Louis|spalax]]
28 """]]