diff options
| author | 2024-12-29 12:54:50 +0100 | |
|---|---|---|
| committer | 2024-12-29 12:54:50 +0100 | |
| commit | 05d9a5ddf8b8e4f557d812c071d1a3166ca029ea (patch) | |
| tree | 283b39025d106b4fb25600613fbd244ce96d8639 | |
| parent | c29cbb7b8be95fee249ed1a21dce98a4772d92e2 (diff) | |
Fix access to manifest (#7158)
* Fix access to manifest
fix https://github.com/FreshRSS/FreshRSS/issues/7157
* Casing
| -rw-r--r-- | .htaccess.dist | 2 | ||||
| -rw-r--r-- | p/.htaccess | 1 | ||||
| -rw-r--r-- | p/themes/.htaccess | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/.htaccess.dist b/.htaccess.dist index 33f794673..c11c9e9ab 100644 --- a/.htaccess.dist +++ b/.htaccess.dist @@ -2,7 +2,7 @@ # if you cannot set Apache `DocumentRoot` to `./p/` as recommended. # Deny files starting with a dot or without extension or with specific extensions -<FilesMatch "^\.|^[^.]+$|\.(config\.js|gz|json|md|neon|sqlite|xml|ya?ml|zip)$"> +<FilesMatch "^\.|^[^.]+$|\.(config\.js|gz|md|neon|sqlite|xml|ya?ml|zip)$"> Require all denied </FilesMatch> diff --git a/p/.htaccess b/p/.htaccess index 69e50e065..d8c3e8486 100644 --- a/p/.htaccess +++ b/p/.htaccess @@ -1,6 +1,7 @@ # If you need custom .htaccess rules, instead of modifying this file, # create one in `./i/.htaccess` (in particular for access control such as HTTP Basic Auth), # or in `../.htaccess` for other more general rules. +# See also `../.htaccess.dist` if you cannot set Apache `DocumentRoot` to here (`FreshRSS/p/`) as recommended <IfModule mod_dir.c> DirectoryIndex index.php index.html diff --git a/p/themes/.htaccess b/p/themes/.htaccess index 42732cd38..b38c085e8 100644 --- a/p/themes/.htaccess +++ b/p/themes/.htaccess @@ -1,6 +1,6 @@ <IfModule mod_authz_core.c> # Deny files without extension or with specific extensions - <FilesMatch "^[^.]+$|\.(json|md|scss|sh)$"> + <FilesMatch "^[^.]+$|\.(md|scss|sh)$"> Require all denied </FilesMatch> </IfModule> |
