aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/trouble_with_base_in_search.mdwn
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2011-03-21 14:31:33 +0000
committerJoey Hess <joey@kitenet.net>2011-03-21 14:31:33 +0000
commit7be18bf29a26a40a9c401fb4f5ce8c2ef3e33ffb (patch)
tree611ebdc43921d796d1e56cab903720cdb1508ccd /doc/bugs/trouble_with_base_in_search.mdwn
parenta39a6911533afe79d1118ccd71ac84693f7501ff (diff)
downloadikiwiki-7be18bf29a26a40a9c401fb4f5ce8c2ef3e33ffb.tar
ikiwiki-7be18bf29a26a40a9c401fb4f5ce8c2ef3e33ffb.tar.gz
base href has to be (fully) absolute
Diffstat (limited to 'doc/bugs/trouble_with_base_in_search.mdwn')
-rw-r--r--doc/bugs/trouble_with_base_in_search.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/bugs/trouble_with_base_in_search.mdwn b/doc/bugs/trouble_with_base_in_search.mdwn
index 24d411ae5..4ca2b4bef 100644
--- a/doc/bugs/trouble_with_base_in_search.mdwn
+++ b/doc/bugs/trouble_with_base_in_search.mdwn
@@ -43,3 +43,11 @@ It works for me, but it has the odd side-effect of prefixing links with a space.
And I'm sure someone else could come up with something better and more general.
--[[KathrynAndersen]]
+
+> The `<base href>` is required to be genuinely absolute (HTML 4.01 ยง12.4).
+> Have you tried setting `url` to the public-facing URL, i.e. with `alfred`
+> as the hostname? That seems like the cleanest solution to me; if you're
+> one of the few behind the firewall and you access the site via `betty`
+> directly, my HTTP vs. HTTPS cleanup in recent versions should mean that
+> you rarely get redirected to `alfred`, because most URLs are either
+> relative or "local" (start with '/'). --[[smcv]]