mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-19 17:11:20 +01:00
Improve directory protection for Apache 2.4
This commit is contained in:
6
INSTALL
6
INSTALL
@@ -169,6 +169,12 @@ rewrite rules. In order to properly secure your installation, please enable
|
||||
mod_rewrite for Apache webserver and double check access to the above listed
|
||||
directories and their contents is denied.
|
||||
|
||||
NOTE: In Apache 2.4, support for .htaccess files has been disabled by
|
||||
default. Therefore you first need to enable this in your Apache main or
|
||||
virtual host config by with:
|
||||
|
||||
AllowOverride all
|
||||
|
||||
|
||||
UPGRADING
|
||||
=========
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
# deny webserver access to this directory
|
||||
Deny from all
|
||||
<ifModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</ifModule>
|
||||
<ifModule !mod_authz_core.c>
|
||||
Deny from all
|
||||
</ifModule>
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
# deny webserver access to this directory
|
||||
Deny from all
|
||||
<ifModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</ifModule>
|
||||
<ifModule !mod_authz_core.c>
|
||||
Deny from all
|
||||
</ifModule>
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
# deny webserver access to this directory
|
||||
Deny from all
|
||||
<ifModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</ifModule>
|
||||
<ifModule !mod_authz_core.c>
|
||||
Deny from all
|
||||
</ifModule>
|
||||
|
||||
Reference in New Issue
Block a user