aboutsummaryrefslogtreecommitdiff
path: root/h-source/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/.htaccess')
-rwxr-xr-xh-source/.htaccess7
1 files changed, 6 insertions, 1 deletions
diff --git a/h-source/.htaccess b/h-source/.htaccess
index d27d849..56ccf22 100755
--- a/h-source/.htaccess
+++ b/h-source/.htaccess
@@ -1,6 +1,11 @@
+RewriteEngine On
+
+RewriteCond %{HTTPS} !^on$
+RewriteRule (.*) https://www.h-node.org/$1 [R,L]
+
# <IfModule mod_rewrite.c>
# Options +FollowSymlinks
- RewriteEngine on
+# RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]