aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/.htpasswd1
l---------web/apache21
-rw-r--r--web/website/.htaccess4
-rw-r--r--web/website/fonctions.py (renamed from web/fonctions.py)0
-rw-r--r--web/website/init-bd.sql (renamed from web/init-bd.sql)0
-rw-r--r--web/website/style.css (renamed from web/style.css)0
-rw-r--r--web/website/test.html (renamed from web/test.html)0
-rw-r--r--web/website/test.py (renamed from web/test.py)0
8 files changed, 6 insertions, 0 deletions
diff --git a/web/.htpasswd b/web/.htpasswd
new file mode 100644
index 0000000..da7e048
--- /dev/null
+++ b/web/.htpasswd
@@ -0,0 +1 @@
+admin:$2y$10$qf/Q1lBSvBq3ycgPmFgUE.1LiVrqRVpKE1VLSBKtkwV6G8aC1v5di
diff --git a/web/apache2 b/web/apache2
new file mode 120000
index 0000000..8cb6183
--- /dev/null
+++ b/web/apache2
@@ -0,0 +1 @@
+/etc/apache2 \ No newline at end of file
diff --git a/web/website/.htaccess b/web/website/.htaccess
new file mode 100644
index 0000000..825c08d
--- /dev/null
+++ b/web/website/.htaccess
@@ -0,0 +1,4 @@
+AuthType Basic
+AuthName "restricted area"
+AuthUserFile /var/www/html/ATS-Project/web/.htpasswd
+require valid-user
diff --git a/web/fonctions.py b/web/website/fonctions.py
index 1b18cc7..1b18cc7 100644
--- a/web/fonctions.py
+++ b/web/website/fonctions.py
diff --git a/web/init-bd.sql b/web/website/init-bd.sql
index 6cd080f..6cd080f 100644
--- a/web/init-bd.sql
+++ b/web/website/init-bd.sql
diff --git a/web/style.css b/web/website/style.css
index 69f4ad1..69f4ad1 100644
--- a/web/style.css
+++ b/web/website/style.css
diff --git a/web/test.html b/web/website/test.html
index b789672..b789672 100644
--- a/web/test.html
+++ b/web/website/test.html
diff --git a/web/test.py b/web/website/test.py
index 4da1d58..4da1d58 100644
--- a/web/test.py
+++ b/web/website/test.py