From: http://smcv.pseudorandom.co.uk/ Date: Mon, 21 Mar 2011 14:31:33 +0000 (+0000) Subject: base href has to be (fully) absolute X-Git-Url: http://git.tremily.us/?p=ikiwiki.git;a=commitdiff_plain;h=7be18bf29a26a40a9c401fb4f5ce8c2ef3e33ffb base href has to be (fully) absolute --- 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 `` 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]]