diff --git a/content/.gitignore b/content/.gitignore deleted file mode 100644 index 2d19fc766d98a08d9d1437896bfb008a7b15f340..0000000000000000000000000000000000000000 --- a/content/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.html diff --git a/content/.htaccess b/content/.htaccess deleted file mode 100644 index bc29f98d5173b9a8e0499ea95f7e4576c172108d..0000000000000000000000000000000000000000 --- a/content/.htaccess +++ /dev/null @@ -1,33 +0,0 @@ -<IfModule mod_mime.c> -AddType image/svg+xml svg svgz -AddEncoding gzip svgz -</IfModule> - -# Do not treat Python files as CGI scripts. -<FilesMatch \.py$> - SetHandler default-handler -</FilesMatch> - -RewriteEngine on - -# We don't need more than that. -RewriteOptions MaxRedirects=2 - -# Redirect /foo/index.html to /foo/ -RewriteRule ^(|.*/)index\.html$ /$1 [R=301,L] - -# Redirect /foo/bar.html to /foo/bar only if a html file was requested by the -# browser. Without the condition the following rewrite rule leads to a -# redirection loop. -RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*\.html\ HTTP/ -RewriteRule ^(.*)\.html$ /$1 [R=301,L] - -# Rewrite /foo/bar to /foo/bar.html if the latter exists. -RewriteCond %{REQUEST_FILENAME}.html -f -RewriteRule ^(.*[^/])$ /$1.html [L] - -# Remove trailing slash if the requested directory does not exist. -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^(.*)/$ /$1 [R=301,L] - -Redirect 302 /2015-survey/ https://docs.google.com/forms/d/1j0LiFdZLjvfwoEyg5FML6z3sFKqV3Ar1mWReonYhatA/viewform