]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/forum/Serving_Blog_under_different_Subdomain/comment_1_33dab1457f7ff6d5e599897e0ebd45a0._comment
(no commit message)
[git.ikiwiki.info.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:
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]]
13 If so, what you can do is having two different setup files.
15 - the first one would contain (using the old setup file format, but you can adapt it for the new one):
17       srcdir => \"/path/to/your/source/wiki/\",
18       url => \"http://wiki.example.com\",
20 - and the second one would contain:
22       srcdir => \"/path/to/your/source/wiki/blog\",
23       url => \"http://blog.example.com\",
25 I hope I answered your question.
27 -- [[Louis|spalax]]
28 """]]