aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.htaccess4
1 files changed, 3 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index fd5f7b2..81f7116 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,12 +1,14 @@
SetEnv LOG_FILE "license_generator.log"
SetEnv DATABASE_URL "mysql://localhost:3306/dome_key"
-
ErrorDocument 404 /404.html
RewriteEngine on
+RewriteCond %{HTTPS} != on
+RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
+
RewriteRule /?\.htaccess$ - [F,L]
RewriteRule ^(license-generator) license-generator.fcgi [L]