You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2015/03/04 15:05:22 UTC

svn commit: r1664002 - /incubator/taverna/site/trunk/content/.htaccess

Author: stain
Date: Wed Mar  4 14:05:22 2015
New Revision: 1664002

URL: http://svn.apache.org/r1664002
Log:
Avoid *.html and index.html

Modified:
    incubator/taverna/site/trunk/content/.htaccess

Modified: incubator/taverna/site/trunk/content/.htaccess
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/.htaccess?rev=1664002&r1=1664001&r2=1664002&view=diff
==============================================================================
--- incubator/taverna/site/trunk/content/.htaccess (original)
+++ incubator/taverna/site/trunk/content/.htaccess Wed Mar  4 14:05:22 2015
@@ -1,4 +1,9 @@
 Redirect /contact/ /community/
 Redirect /code/ /download/code/
 
-ErrorDocument 404 /error_pages/404 
\ No newline at end of file
+ErrorDocument 404 /error_pages/404 
+
+RewriteEngine On
+RewriteRule (.*).html$ $1 [R=permanent]
+RewriteRule (.*)/index $1 [L,R=permanent]
+