aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/forum/Forward_slashes_being_escaped_as_252F.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/forum/Forward_slashes_being_escaped_as_252F.mdwn b/doc/forum/Forward_slashes_being_escaped_as_252F.mdwn
index cabb21b5c..5df81e561 100644
--- a/doc/forum/Forward_slashes_being_escaped_as_252F.mdwn
+++ b/doc/forum/Forward_slashes_being_escaped_as_252F.mdwn
@@ -20,3 +20,14 @@ I am running ikiwiki 3.20100504~bpo50+1 on Debian Lenny.
Location: http://ciffer.net/~svend/ikiwiki.cgi?page=tech%252Fhosts&do=edit
> You'll need to investigate why your web server is doing that... --[[Joey]]
+
+>> Thanks for pointing me in the right direction. I have the following redirect
+>> in my Apache config.
+
+ RewriteEngine on
+ RewriteCond %{HTTP_HOST} ^www\.ciffer\.net$
+ RewriteRule /(.*) http://ciffer.net/$1 [L,R]
+
+>> and my ikiwiki url setting contained `www.ciffer.net`, which was causing the
+>> redirect. Correcting the url fixed the problem. I'm still not sure why
+>> Apache was mangling the URL. --[[Svend]]