From c118f5bdee13500c2cd2593cd7063fb335a4ad73 Mon Sep 17 00:00:00 2001 From: stefano scardigli <stefano.scardigli@roma2.infn.it> Date: Mon, 27 Nov 2023 15:24:54 +0100 Subject: [PATCH] dealing with .htaccess --- docs/source/conf.py | 5 +++-- docs/source/private/.htaccess | 5 ----- 2 files changed, 3 insertions(+), 7 deletions(-) delete mode 100644 docs/source/private/.htaccess diff --git a/docs/source/conf.py b/docs/source/conf.py index eaf4594..e075380 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -34,9 +34,10 @@ templates_path = ['_templates'] html_theme = 'classic' -### html_static_path = ['access','access/.htpasswd'] +html_static_path = ['access','access/.htpasswd','access/.htaccess'] +# html_extra_path = ['private/.htaccess'] -### html_extra_path = ['private/.htaccess','private/.htaccess'] +# html_extra_path = ['private/.htaccess'] # -- Options for EPUB output diff --git a/docs/source/private/.htaccess b/docs/source/private/.htaccess deleted file mode 100644 index 0464f20..0000000 --- a/docs/source/private/.htaccess +++ /dev/null @@ -1,5 +0,0 @@ -#Protect Directory -AuthName "welcome" -AuthType Basic -AuthUserFile ./.htpasswd -Require valid-user -- GitLab