From f73f86064fd7c92ab615cfbe7249fc441dc099c8 Mon Sep 17 00:00:00 2001 From: Nick Date: Wed, 21 Jan 2015 13:39:41 +1300 Subject: [PATCH] Adjust condition for checking the framework url Allow an optional / at the start of the check as different apache versions seem to have different opinions on it --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 1f4e630..d71232f 100644 --- a/.htaccess +++ b/.htaccess @@ -18,7 +18,7 @@ RewriteRule ^sapphire/?(.*) http://doc.silverstripe.org/framework/$1 [R=301,L] #Rewrite framework to the new base url - RewriteCond %{REQUEST_URI} ^framework/en/ + RewriteCond %{REQUEST_URI} ^/?framework/en/ RewriteRule ^framework/en/(.*)$ /en/$1 [R=301,NC,QSA,L] # DokuWiki rewrite rules: Need to happen before other rules in order to redirect /doku.php?id=