From 73b891a434f9cc6c906e97092b7999e702ed4eff Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 20 Feb 2008 12:30:33 -0500 Subject: [PATCH] web commit by Justin: explain workaround using server rewriting. --- doc/bugs/links_from_sidebars/discussion.mdwn | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/bugs/links_from_sidebars/discussion.mdwn diff --git a/doc/bugs/links_from_sidebars/discussion.mdwn b/doc/bugs/links_from_sidebars/discussion.mdwn new file mode 100644 index 000000000..9cb84328a --- /dev/null +++ b/doc/bugs/links_from_sidebars/discussion.mdwn @@ -0,0 +1,5 @@ +In the meantime I have configured nginx to redirect any requests for .../sidebar/ up to the parent page. + + rewrite ^(.*/)sidebar/$ $1 redirect; + +This appears to work well. -- 2.26.2