From 7a6d444219ba6b3a42fece459414cc715db0a339 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 22 May 2016 02:39:20 +0200 Subject: Change link formats from [[link|url]] to [link](url). --- wiki-preview.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wiki-preview.mdwn') diff --git a/wiki-preview.mdwn b/wiki-preview.mdwn index 6334217..6454954 100644 --- a/wiki-preview.mdwn +++ b/wiki-preview.mdwn @@ -1,4 +1,4 @@ -Taking the [[Create a Wiki|create-a-wiki]] article as a starting point, this article describes how to set up preview of Friposts wiki. +Taking the [Create a Wiki](create-a-wiki) article as a starting point, this article describes how to set up preview of Friposts wiki. The basic idea is something like the following: @@ -20,7 +20,7 @@ recompilation of the local version of the. The local preview version is accessed by pointing the browser to *http\://localhost/~/fripost-wiki-preview/*. -First the basics. According to [[Create a Wiki|create-a-wiki]] do the following: +First the basics. According to [Create a Wiki](create-a-wiki) do the following: * Install and configure Git * Install and configure Apache 2 -- cgit v1.2.3 From f34a1ad4beec4f0b5abc6019636c3620e4d04fc6 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 30 Nov 2016 19:49:46 +0100 Subject: Fix a few broken links. --- wiki-preview.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wiki-preview.mdwn') diff --git a/wiki-preview.mdwn b/wiki-preview.mdwn index 6454954..7e6df82 100644 --- a/wiki-preview.mdwn +++ b/wiki-preview.mdwn @@ -1,4 +1,4 @@ -Taking the [Create a Wiki](create-a-wiki) article as a starting point, this article describes how to set up preview of Friposts wiki. +Taking the [Create a Wiki](/create-a-wiki) article as a starting point, this article describes how to set up preview of Friposts wiki. The basic idea is something like the following: @@ -20,7 +20,7 @@ recompilation of the local version of the. The local preview version is accessed by pointing the browser to *http\://localhost/~/fripost-wiki-preview/*. -First the basics. According to [Create a Wiki](create-a-wiki) do the following: +First the basics. According to [Create a Wiki](/create-a-wiki) do the following: * Install and configure Git * Install and configure Apache 2 -- cgit v1.2.3 From 11d202682aec340f0d9f3a967a641de9f48ef823 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Sun, 8 Apr 2018 18:56:23 +0200 Subject: Added Swish information to membership page --- wiki-preview.mdwn | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'wiki-preview.mdwn') diff --git a/wiki-preview.mdwn b/wiki-preview.mdwn index 7e6df82..71cf7d1 100644 --- a/wiki-preview.mdwn +++ b/wiki-preview.mdwn @@ -48,6 +48,27 @@ You can also create an alias for to refresh the preview command. $ alias fripost-wiki-preview-refresh='ikiwiki -setup /home/gustav/lab-wiki/fripost-wiki.setup -refresh' + +Public www locations (userdir) +------------------ + +For to be able to access `http://localhost/~user` the "userdir" +functionality is needed. For Nginx, put the following in e.g. +*/etc/nginx/sites-available/localhost*: + +``` +server { + location ~ ^/~(.+?)(/.*)?$ { + alias /home/$1/public_html$2; + index index.html index.htm + autoindex on; + } +} +``` + +Relative paths +-------------- + Many links on the Fripost wiki are absolute. That means that you sometimes will not be able to follow homepage page and wiki page links between your local preview wiki. For testing purposes, that can -- cgit v1.2.3