summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess29
1 files changed, 13 insertions, 16 deletions
diff --git a/.htaccess b/.htaccess
index 45123a98..24bfe9be 100644
--- a/.htaccess
+++ b/.htaccess
@@ -3,24 +3,21 @@
SetEnv HTTP_MOD_REWRITE On
+ # Uncomment this line depending of your Apache configuration
+ # RewriteBase /
+
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
+
+ ############################
+ ## Uncomment the two lines below to enable force HTTPS capabilities
+ ############################
+
+ # RewriteCond %{HTTPS} !=on
+ # RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
</IfModule>
-<FilesMatch "(kanboard|config.php|config.default.php)">
- <IfModule mod_version.c>
- <IfVersion >= 2.3>
- Require all denied
- </IfVersion>
- <IfVersion < 2.3>
- Order allow,deny
- Deny from all
- </IfVersion>
- </IfModule>
-
- <IfModule !mod_version.c>
- Order allow,deny
- Deny from all
- </IfModule>
-</FilesMatch>
+<IfModule pagespeed_module>
+ ModPagespeed Off
+</IfModule>