aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorjaquer <jaquer@users.noreply.github.com>2022-01-26 16:51:12 -0800
committerjaquer <jaquer@users.noreply.github.com>2022-01-26 16:51:12 -0800
commit942e3aa2b6b255fe9dac2a461aed1720c7376685 (patch)
treef48512f5be4f9f2bbbee1643c6abdb8995abf168 /.htaccess
parent5922ced6820ea7349f627c9de83859c3fa340a4c (diff)
downloadmicroblog-942e3aa2b6b255fe9dac2a461aed1720c7376685.tar.gz
microblog-942e3aa2b6b255fe9dac2a461aed1720c7376685.tar.bz2
microblog-942e3aa2b6b255fe9dac2a461aed1720c7376685.zip
Updated .htaccess file.
- Wrapped php-fcgid directive inside an IfModule statement. - Updated *.db access directive to use the new syntax, with a fallback.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess7
1 files changed, 7 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index b1de444..f42ae6a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,9 +1,16 @@
# this line may need to be removed on other hosts!
+<IfModule mod_fcgid.c>
Action php-fcgid /fcgi-bin/php-fcgi-starter-7.0
+</IfModule>
<Files ~ "\.db$">
+ <IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
+ </IfModule>
+ <IfModule mod_authz_core.c>
+ Require all denied
+ </IfModule>
</Files>
<IfModule mod_rewrite.c>