]> sipb.mit.edu Git - ikiwiki.git/commitdiff
bad generation of links in map directive
authorsimonraven <simonraven@web>
Mon, 19 Oct 2009 08:58:46 +0000 (04:58 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 19 Oct 2009 08:58:46 +0000 (04:58 -0400)
doc/bugs/pages_missing_top-level_directory.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/pages_missing_top-level_directory.mdwn b/doc/bugs/pages_missing_top-level_directory.mdwn
new file mode 100644 (file)
index 0000000..302d365
--- /dev/null
@@ -0,0 +1,17 @@
+Hi,
+
+I've rebuilt two sites now, and anything that requires a working directory structure isn't working properly. I have no idea how it's doing this. I don't see anything in my templates, and I haven't messed around with the back-end code much.
+
+An example would show this best I think.
+
+<pre>
+/                   <- root of site
+/About/             <- sub-directory
+      /Policy/      <- sub-sub-
+</pre>
+
+When you're on /About/, any generated links get mapped to /Policy/ and NOT /About/Policy/ - of course this results in a 404 error.
+
+I used to be able to use relative links or absolute ones to get the links I want, and now I can't do either. The generated link results in a 404 due to the stripping of a directory.
+
+I don't know if it's related to the fact that I have one ikiwiki install under another (/blog/ under / is also ikiwiki), but both are FUBAR.