com web/qa: Fix .htaccess for Apache 2.4: reports/db/.htaccess

From: Date: Mon, 23 Jul 2018 16:29:49 +0000
Subject: com web/qa: Fix .htaccess for Apache 2.4: reports/db/.htaccess
Groups: php.qa 
Request: Send a blank email to php-qa+get-68135@lists.php.net to get a copy of this message
Commit: ffac4ac2d867ba013c406781b5464275aa3aac58 Author: Christoph M. Becker <cmbecker69@gmx.de> Mon, 23 Jul 2018 18:29:49 +0200 Parents: 0d644bfc07e5675577ab18b94416d38e9de8e37e Branches: master Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=ffac4ac2d867ba013c406781b5464275aa3aac58 Log: Fix .htaccess for Apache 2.4 We wonder though, why we need to allow read access to the db files. Changed paths: M reports/db/.htaccess Diff: diff --git a/reports/db/.htaccess b/reports/db/.htaccess index 4c1e7b3..4138bd4 100644 --- a/reports/db/.htaccess +++ b/reports/db/.htaccess @@ -1,9 +1,13 @@ Options -Indexes -# + # need to allow read access to /reports/db/ because that's where PFTT files will be stored because # web user has write access to that # # should be safe to allow read access to SQLite db files -Order deny,allow -#deny from all -Allow from all +<IfModule !authz_core_module> + order deny,allow + allow from all +</IfModule> +<IfModule authz_core_module> + Require all granted +</IfModule>

« previous php.qa (#68135) next »