Skip to content

Commit

Permalink
FIX Update Apache .htaccess for new access directives
Browse files Browse the repository at this point in the history
Apache updated the way it handles permissions and access to files at version 2.4
SilverStripe has not updated its default .htaccess files to reflect this however
Most installations have been using mod_access_compat which has meant the (lack of)
update has gone largely unnoticed. However distributions are beginning to drop the
deprecation compatibility support module from their default setups, meaning that
after someone updates their infrastructure, the SilverStripe installation ceases
to be functional due to configuration syntax errors.

This commit seeks to rectify this (in part with another update in silverstripe/recipe-core)
by applying the advice given by Apache at
https://httpd.apache.org/docs/2.4/upgrading.html
and
https://httpd.apache.org/docs/2.4/howto/access.html
  • Loading branch information
Dylan Wagstaff committed Sep 23, 2019
1 parent cf66429 commit 297c402
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/.htaccess
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Block .method file
<Files .method>
Order Allow,Deny
Deny from all
Require all denied
</Files>

# Block 404s
Expand Down

0 comments on commit 297c402

Please sign in to comment.