diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-11-08 13:13:13 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-11-08 13:13:13 +0100 |
commit | 8a9796014ce6c842095a9d031c8cbf40da761e0f (patch) | |
tree | 43542f3bcdd7effd4676c601349c655b82229ddc /.htaccess | |
parent | 8c5f6c786d00310b2e863aa316927effb7bfeedb (diff) | |
download | Shaarli-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-- | .htaccess | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 / |
19 | RewriteCond %{REQUEST_FILENAME} !-f | 19 | RewriteCond %{REQUEST_FILENAME} !-f |