trying htaccess to prevent access to certain content
This commit is contained in:
11
.htaccess
11
.htaccess
@@ -2,3 +2,14 @@
|
|||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteCond %{HTTPS} off
|
RewriteCond %{HTTPS} off
|
||||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
|
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
|
||||||
|
|
||||||
|
# denying access
|
||||||
|
# https://stackoverflow.com/questions/8217430/how-to-redirect-only-when-exact-url-matches
|
||||||
|
RedirectMatch 403 ^/docs/?$
|
||||||
|
RedirectMatch 403 ^/styles/?$
|
||||||
|
RedirectMatch 403 ^/styles/.*$
|
||||||
|
#RedirectMatch 403 ^/.git/?$
|
||||||
|
RedirectMatch 403 ^/README.md$
|
||||||
|
RedirectMatch 403 ^/alphabet.txt$
|
||||||
|
#RedirectMatch 403 ^/.htaccess$
|
||||||
|
RedirectMatch 403 ^/.gitignore$
|
||||||
|
|||||||
BIN
docs/cvs/cv_2024_v14_dev_01.pdf
Normal file
BIN
docs/cvs/cv_2024_v14_dev_01.pdf
Normal file
Binary file not shown.
BIN
docs/cvs/cv_2024_v14_dev_EN_01.pdf
Normal file
BIN
docs/cvs/cv_2024_v14_dev_EN_01.pdf
Normal file
Binary file not shown.
BIN
docs/cvs/cv_2024_v14_devops_01.pdf
Normal file
BIN
docs/cvs/cv_2024_v14_devops_01.pdf
Normal file
Binary file not shown.
BIN
docs/cvs/cv_2024_v14_devops_EN_01.pdf
Normal file
BIN
docs/cvs/cv_2024_v14_devops_EN_01.pdf
Normal file
Binary file not shown.
BIN
docs/cvs/cv_2024_v14_graphisme_01.pdf
Normal file
BIN
docs/cvs/cv_2024_v14_graphisme_01.pdf
Normal file
Binary file not shown.
BIN
docs/cvs/cv_2024_v14_graphisme_EN_01.pdf
Normal file
BIN
docs/cvs/cv_2024_v14_graphisme_EN_01.pdf
Normal file
Binary file not shown.
BIN
docs/cvs/cv_2024_v14_sysadmin_01.pdf
Normal file
BIN
docs/cvs/cv_2024_v14_sysadmin_01.pdf
Normal file
Binary file not shown.
BIN
docs/cvs/cv_2024_v14_sysadmin_EN_01.pdf
Normal file
BIN
docs/cvs/cv_2024_v14_sysadmin_EN_01.pdf
Normal file
Binary file not shown.
BIN
docs/cvs/cv_2024_v14_systeme_01.pdf
Normal file
BIN
docs/cvs/cv_2024_v14_systeme_01.pdf
Normal file
Binary file not shown.
BIN
docs/cvs/cv_2024_v14_systeme_EN_01.pdf
Normal file
BIN
docs/cvs/cv_2024_v14_systeme_EN_01.pdf
Normal file
Binary file not shown.
BIN
docs/cvs/cv_2024_v14_web_01.pdf
Normal file
BIN
docs/cvs/cv_2024_v14_web_01.pdf
Normal file
Binary file not shown.
BIN
docs/cvs/cv_2024_v14_web_EN_02.pdf
Normal file
BIN
docs/cvs/cv_2024_v14_web_EN_02.pdf
Normal file
Binary file not shown.
Reference in New Issue
Block a user