aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-12-29 12:54:50 +0100
committerGravatar GitHub <noreply@github.com> 2024-12-29 12:54:50 +0100
commit05d9a5ddf8b8e4f557d812c071d1a3166ca029ea (patch)
tree283b39025d106b4fb25600613fbd244ce96d8639 /p
parentc29cbb7b8be95fee249ed1a21dce98a4772d92e2 (diff)
Fix access to manifest (#7158)
* Fix access to manifest fix https://github.com/FreshRSS/FreshRSS/issues/7157 * Casing
Diffstat (limited to 'p')
-rw-r--r--p/.htaccess1
-rw-r--r--p/themes/.htaccess2
2 files changed, 2 insertions, 1 deletions
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>