aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
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>