From 2c59d563f959a8dea21746fa1dd0c095adcc0a49 Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Mon, 25 Mar 2013 09:34:55 +0100 Subject: [PATCH] Clean up htaccess --- content/htaccess.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/content/htaccess.txt b/content/htaccess.txt index 6fd908e..bc20281 100644 --- a/content/htaccess.txt +++ b/content/htaccess.txt @@ -25,11 +25,11 @@ # ---------------------------------------------------------------------- - - RewriteCond %{HTTPS} !=on - RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] - RewriteRule ^(.*)$ http://%1/$1 [R=301,L] - +# +# RewriteCond %{HTTPS} !=on +# RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] +# RewriteRule ^(.*)$ http://%1/$1 [R=301,L] +# @@ -105,7 +105,7 @@ AddCharset utf-8 .html .css .js .xml .json .rss # Do we want to advertise the exact version number of Apache we're running? # Probably not. ## This can only be enabled if used in httpd.conf - It will not work in .htaccess -ServerTokens Prod +# ServerTokens Prod # "-Indexes" will have Apache block users from browsing folders without a default document @@ -123,4 +123,4 @@ Options -Indexes <% if @site.config[:redirects] %> # Set up URL redirects<% @site.config[:redirects].each do |h| %> Redirect 301 <%= h[:from] %> <%= h[:to] %> -<% end %><% end %> \ No newline at end of file +<% end %><% end %>