diff options
author | spalax <spalax@web> | 2014-09-27 02:18:30 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-09-27 02:18:30 -0400 |
commit | 9fc035fb847274c2e957bbec07fbf817c7cbb392 (patch) | |
tree | a2cc2cb1e1590db33b7a5179c41a3bf664826fc8 | |
parent | feb13829805311cdcebd0a5d88f0473c8af92134 (diff) | |
download | ikiwiki-9fc035fb847274c2e957bbec07fbf817c7cbb392.tar ikiwiki-9fc035fb847274c2e957bbec07fbf817c7cbb392.tar.gz |
Added a comment: Several .setup files
-rw-r--r-- | doc/forum/Serving_Blog_under_different_Subdomain/comment_1_33dab1457f7ff6d5e599897e0ebd45a0._comment | 28 |
1 files changed, 28 insertions, 0 deletions
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 index 000000000..0732a82a9 --- /dev/null +++ b/doc/forum/Serving_Blog_under_different_Subdomain/comment_1_33dab1457f7ff6d5e599897e0ebd45a0._comment @@ -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]] +"""]] |