From 4bc9468554a7937a5719a6bf8a4e05adc722d31d Mon Sep 17 00:00:00 2001 From: Thomas Dedek Date: Thu, 6 Feb 2020 15:27:08 +0100 Subject: [PATCH] fix ignored files --- public/.htaccess | 25 ------------------------- public/.htpasswd | 1 - 2 files changed, 26 deletions(-) delete mode 100644 public/.htaccess delete mode 100644 public/.htpasswd diff --git a/public/.htaccess b/public/.htaccess deleted file mode 100644 index 63f09c1..0000000 --- a/public/.htaccess +++ /dev/null @@ -1,25 +0,0 @@ -# authentication -AuthType Basic -AuthName "Geschuetzter Bereich. Zugangsdaten koennen beim AK-IT unbuerokratish angefordert werden." -AuthUserFile /home/pacs/ecg00/users/portal/doms/my.ecogood.world/.htpasswd -Require valid-user - -# CSP Starter Policy: allows images, scripts, AJAX, and CSS from the same origin, and does not allow any other resources to load (eg object, frame, media, etc). -Header set Content-Security-Policy "default-src 'none'; script-src 'self'; connect-src 'self'; img-src 'self'; style-src 'self';" - -# Referrer Policy -Header always set Referrer-Policy "no-referrer" - -# redirection depending on the language -RewriteEngine on - -RewriteCond %{HTTP:Accept-Language} ^de [NC] -RewriteRule ^$ https://%{HTTP_HOST}/de [L,R=302] - -RewriteCond %{HTTP:Accept-Language} ^fr [NC] -RewriteRule ^$ https://%{HTTP_HOST}/fr [L,R=302] - -# Fallback for any other language to spanish -RewriteCond %{HTTP_HOST} my.ecogood.world [NC] -RewriteRule ^$ https://%{HTTP_HOST}/en [L,R=302] - diff --git a/public/.htpasswd b/public/.htpasswd deleted file mode 100644 index bf5b337..0000000 --- a/public/.htpasswd +++ /dev/null @@ -1 +0,0 @@ -ecogood:GZW/io0Bep3lk \ No newline at end of file