Merge branch 'dns' into 'master'

contact form connections

See merge request bs15/iimtt.org!12
This commit is contained in:
bs team
2021-05-17 09:29:54 +00:00
3 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
.htaccess
.gitlab-ci.yml

View File

@@ -1,3 +1,7 @@
AuthType Basic
AuthName "Your authorization required message."
AuthUserFile /home/dev/.htpasswd
require valid-user
#RewriteCond %{HTTPS} !=on
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]

View File

@@ -0,0 +1,7 @@
#RewriteCond %{HTTPS} !=on
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php