diff options
author | jaquer <jaquer@users.noreply.github.com> | 2022-01-26 16:51:12 -0800 |
---|---|---|
committer | jaquer <jaquer@users.noreply.github.com> | 2022-01-26 16:51:12 -0800 |
commit | 942e3aa2b6b255fe9dac2a461aed1720c7376685 (patch) | |
tree | f48512f5be4f9f2bbbee1643c6abdb8995abf168 /.htaccess | |
parent | 5922ced6820ea7349f627c9de83859c3fa340a4c (diff) | |
download | microblog-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-- | .htaccess | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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> |