Commit: ffac4ac2d867ba013c406781b5464275aa3aac58 Author: Christoph M. Becker <cmbecke...@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> -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php