aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArno Richter <mail@arnorichter.de>2022-01-27 12:00:53 +0100
committerGitHub <noreply@github.com>2022-01-27 12:00:53 +0100
commitbf8b42cb3b326dec2cc54bb4cfbf6726c0934806 (patch)
treec4771896ae9f6f737e4c7eb4012c28070c521d9e
parentcfacbe9804833824490518076330de865f99c032 (diff)
parent0ddbb403904a08759db7c9f3cfe508c0c03e83a5 (diff)
downloadmicroblog-bf8b42cb3b326dec2cc54bb4cfbf6726c0934806.tar.gz
microblog-bf8b42cb3b326dec2cc54bb4cfbf6726c0934806.tar.bz2
microblog-bf8b42cb3b326dec2cc54bb4cfbf6726c0934806.zip
Merge pull request #12 from jaquer/htaccess
Updated .htaccess file.
-rw-r--r--.htaccess10
1 files changed, 8 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index b1de444..ffdf7b6 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,9 +1,16 @@
-# this line may need to be removed on other hosts!
+# this line may need to be modified 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>
@@ -13,7 +20,6 @@ RewriteBase /microblog
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]
-
</IfModule>