]> sipb.mit.edu Git - ikiwiki.git/commitdiff
base href has to be (fully) absolute
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>
Mon, 21 Mar 2011 14:31:33 +0000 (14:31 +0000)
committerJoey Hess <joey@kitenet.net>
Mon, 21 Mar 2011 14:31:33 +0000 (14:31 +0000)
doc/bugs/trouble_with_base_in_search.mdwn

index 24d411ae59769ccff72ef05a389e232d2739572f..4ca2b4beff9903ecfde77b709cd25729c83cda5a 100644 (file)
@@ -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]]