You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2016/03/14 09:51:00 UTC

incubator-freemarker-site git commit: Seems that .htaccess does nothing... trying if it's because of the last change.

Repository: incubator-freemarker-site
Updated Branches:
  refs/heads/asf-site 3356897a1 -> feb9e8e53


Seems that .htaccess does nothing... trying if it's because of the last change.


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/commit/feb9e8e5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/tree/feb9e8e5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/diff/feb9e8e5

Branch: refs/heads/asf-site
Commit: feb9e8e53ad654c9751a3024505135d098acf622
Parents: 3356897
Author: ddekany <dd...@apache.org>
Authored: Mon Mar 14 09:50:54 2016 +0100
Committer: ddekany <dd...@apache.org>
Committed: Mon Mar 14 09:50:54 2016 +0100

----------------------------------------------------------------------
 .htaccess | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/feb9e8e5/.htaccess
----------------------------------------------------------------------
diff --git a/.htaccess b/.htaccess
index 59fa3ca..6c2aada 100644
--- a/.htaccess
+++ b/.htaccess
@@ -6,11 +6,3 @@ RedirectMatch permanent "^/fmpp\.html$" "http://fmpp.sourceforge.net/"
 
 # We don't have toc.html ATM, but it might will reappear:
 RedirectMatch temp "^/docs/toc\.html$" "/docs/"
-
-RewriteEngine On
-RewriteBase /
-
-# Redirect to the canonical domain:
-RewriteCond %{HTTP_HOST} ^www.freemarker.org$ [NC,OR]
-RewriteCond %{HTTP_HOST} ^freemarker.incubator.apache.org$ [NC]
-RewriteRule ^(.*)$ http://freemarker.org/$1 [R=301,L]