aboutsummaryrefslogtreecommitdiffhomepage
path: root/.htaccess
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-11-08 13:13:13 +0100
committerArthurHoaro <arthur@hoa.ro>2020-11-08 13:13:13 +0100
commit8a9796014ce6c842095a9d031c8cbf40da761e0f (patch)
tree43542f3bcdd7effd4676c601349c655b82229ddc /.htaccess
parent8c5f6c786d00310b2e863aa316927effb7bfeedb (diff)
downloadShaarli-8a9796014ce6c842095a9d031c8cbf40da761e0f.tar.gz
Shaarli-8a9796014ce6c842095a9d031c8cbf40da761e0f.tar.zst
Shaarli-8a9796014ce6c842095a9d031c8cbf40da761e0f.zip
Reviewed Apache configuration
(in documentation) For security purpose, block access to any static file not matching the list of allowed extensions. It allows us to remove the specific retriction on dotfiles, and fix Apache part of #1608.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 25fcfb03..9d1522df 100644
--- a/.htaccess
+++ b/.htaccess
@@ -13,7 +13,7 @@ RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
13# Alternative (if the 2 lines above don't work) 13# Alternative (if the 2 lines above don't work)
14# SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0 14# SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
15 15
16# REST API 16# Slim URL Redirection
17# Ionos Hosting needs RewriteBase / 17# Ionos Hosting needs RewriteBase /
18# RewriteBase / 18# RewriteBase /
19RewriteCond %{REQUEST_FILENAME} !-f 19RewriteCond %{REQUEST_FILENAME} !-f