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 %>