Clean up htaccess

This commit is contained in:
Ariejan de Vroom 2013-03-25 09:34:55 +01:00
parent 0e5510a3c1
commit 2c59d563f9

View File

@ -25,11 +25,11 @@
# ----------------------------------------------------------------------
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
</IfModule>
# <IfModule mod_rewrite.c>
# RewriteCond %{HTTPS} !=on
# RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
# RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
# </IfModule>
@ -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