mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
Merge pull request #8334 from owncloud/protect-co
Preventing access to the config folder
This commit is contained in:
commit
087e73cbfc
12
config/.htaccess
Normal file
12
config/.htaccess
Normal file
@ -0,0 +1,12 @@
|
||||
# line below if for Apache 2.4
|
||||
<ifModule mod_authz_core>
|
||||
Require all denied
|
||||
</ifModule>
|
||||
|
||||
# line below if for Apache 2.2
|
||||
<ifModule !mod_authz_core>
|
||||
deny from all
|
||||
</ifModule>
|
||||
|
||||
# section for Apache 2.2 and 2.4
|
||||
IndexIgnore *
|
||||
Loading…
Reference in New Issue
Block a user